user32: Track the number of GL surfaces for a window rather than the pixel format.

Ken Thomases ken at codeweavers.com
Tue May 6 03:44:34 CDT 2014


The specific pixel format was never used.  It was effectively just a flag
indicating if the window had a GL surface.  This generalizes it from a flag
to a count, to allow for multiple GL surfaces.

This supports the future WGL_WINE_surface extension.
---
dlls/opengl32/make_opengl | 2 +-
dlls/user32/user32.spec   | 2 +-
dlls/user32/win.c         | 8 ++++----
dlls/user32/win.h         | 2 +-
dlls/user32/winpos.c      | 2 +-
dlls/winemac.drv/opengl.c | 8 +++++---
dlls/winex11.drv/opengl.c | 6 ++++--
7 files changed, 17 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-user32-Track-the-number-of-GL-surfaces-for-a-window-.patch
Type: text/x-patch
Size: 6103 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140506/a68b8bbd/attachment.bin>


More information about the wine-patches mailing list