bug in dlls/wined3d/device.c?