wined3d: Make sure GL context is created before binding FBO.

Stefan Dösinger stefan at
Tue Oct 9 12:15:59 CDT 2007

Am Dienstag, 9. Oktober 2007 04:18:29 schrieb Allan Tong:
> This patch moves the call to ActivateContext ahead of the opengl
> calls.  This fixes a crash I was getting in the Bioshock demo where a
> newly created thread was calling glBindFramebufferEXT before a
> rendering context was established for the thread.
The patch is correct in spirit, ActivateContext has to be called before other 
gl stuff is done, but I have found that it causes some problems for an 
unknown reason. So perhaps other bugfixes are needed before this works 
properly. One of the problems was a major rendering problem in half life 2 
lost coast.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the wine-devel mailing list