WineD3D: don't call ActivateContext between ENTER_GL/LEAVE_GL
thunderbird2k at gmx.net
Mon Aug 6 09:34:00 CDT 2007
This patch moves ActivateContext out of ENTER_GL/LEAVE_GL blocks. At the
moment this change doesn't look very useful as ENTER_GL/LEAVE_GL is now
inside ActivateContext but it will be useful after the WGL move.
When we move to WGL, no GDI calls (including wglCreateContext/wglMakeCurrent
and a few others) are allowed between ENTER_GL/LEAVE_GL. As ActivateContext
will make a lot of wgl calls it should take care of ENTER_GL itself.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23227 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070806/5cad9efc/0001-This-patch-makes-sure-that-ActivateContext-isn-t-cal-0001.bin
More information about the wine-patches