cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Explicit context switch (closes #203) #211

Closed scheibel closed 10 years ago

scheibel commented 10 years ago

Add interface to explicitly switch between contexts in glow instead of querying the current context for each context-dependent operation. As it is now, only one context is supported. This implies, that this code is not required yet, but will be needed if we want support glewmx or introduce our own OpenGL binding with multi-threading capability.