wined3d: Allow SetCursorProperties on existing cursor

H. Verbeet hverbeet at
Sun Mar 11 18:09:46 CDT 2007

On 11/03/07, Erich Hoover <ehoover at> wrote:
> Is the attached what you mean?
> Erich Hoover
> ehoover at

>+        if (IWineD3DSurface_LockRect(pCursorBitmap, &rect, NULL,
I know the current code doesn't do it everywhere either, but you
should probably be using SUCCEEDED() there.

>+            void *mem = rect.pBits;
>+            glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height,
0, format, type, mem);
That may work, but it's not guaranteed to, see

More information about the wine-devel mailing list