Am Freitag 11 Mai 2007 02:34 schrieb Andrew Riedi:
I made a test to figure out the exact Windows behavior, and Stefand helped me out in telling me what to test. This code behaves how it should. I will send the test in later once I have cleaned it up.
changelog: wined3d: Add hardware cursor support.
if (This->hardwareCursor) DestroyCursor(This->hardwareCursor);
if (This->haveHardwareCursor) This->haveHardwareCursor = FALSE;
Is there a specific reason to test if This->haveHardwareCursor is true before setting it to false? Or would a plain This->haveHardwareCursor = FALSE work too?
Otherwise looked fine to me