[wxGLCanvas] GL commands don't work

Carsten Fuchs CarstenFuchs at T-Online.de
Tue Jul 24 05:09:10 PDT 2007


Hi David,

David Donaldson wrote:
> You must release the context from the main thread before using it 
> in the second thread.

Can you please give reference about this?  Afaik, it is sufficient to make the context current in 
the current thread; as it can only be current in one thread anyway, this automatically makes it 
"uncurrent" in the previous thread.

Making contexts current is possible with regular wxWidgets API.

Best,
Carsten



-- 
Ca3D - Engine    http://www.Ca3D-Engine.de
Carsten Fuchs    http://www.Ca3D-Engine.de/c_Carsten.php




More information about the wx-users mailing list