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