[Bug 5584] Regression while moving d3d8 code to wined3d