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