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.