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

Alexander Dorofeyev alexd4 at inbox.lv
Thu Apr 3 10:40:23 CDT 2008


Sounds like a good idea. Unfortunately, it's too late to rework that patch as it 
seems to be in git by now. I suggest you send this improvement as a patch under 
your name.

Allan Tong wrote:
> 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