[PATCH 04/10] wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DSurfaceImpl_Release.

Allan Tong actong88 at gmail.com
Wed Apr 2 20:51:52 CDT 2008

Perhaps the call to ActivateContext should be moved outside of the if
block since there are other gl calls in the function.  Then you could
move the glDeleteRenderbuffers block before the gdi section and
combine the ENTER_GL/LEAVE_GL blocks into one.

 - Allan

More information about the wine-devel mailing list