WineD3D: don't call ActivateContext between ENTER_GL/LEAVE_GL
Roderick Colenbrander
thunderbird2k at gmx.net
Mon Aug 6 09:34:00 CDT 2007
Hi,
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.
Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-This-patch-makes-sure-that-ActivateContext-isn-t-cal.patch
Type: text/x-diff
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
mailing list