|
@@ -209,7 +209,11 @@ void tnsContextMakeFBOCurrent(tnsOffscreen* off){
|
|
|
#endif
|
|
|
}
|
|
|
void tnsContextMakeWindowCurrent(laWindow* w){
|
|
|
+#ifdef _WIN32
|
|
|
tnsContextMakeCurrent(w->glc,w->hdc,0);
|
|
|
+#else
|
|
|
+ tnsContextMakeCurrent(w->glc,w->win,0);
|
|
|
+#endif
|
|
|
}
|
|
|
#endif
|
|
|
void tnsSwitchToCurrentWindowContext(laWindow* w){
|