NSLOOKUPSYMBOLINIMAGE_OPTION_BIND));
if (ret == NULL) ret = NSAddressOfSymbol(NSLookupSymbolInImage(SCHandle, symbol,
NSLOOKUPSYMBOLINIMAGE_OPTION_BIND));
- printf("linking symbol %s to address %x\n", symbol, ret);
- fflush(stdout);
+ /*printf("linking symbol %s to address %x\n", symbol, ret);
+ fflush(stdout);*/
return ret;
}
WindowAttributes attr = kWindowStandardHandlerAttribute|
(framed ? kWindowInWindowMenuAttribute|kWindowStandardDocumentAttributes|kWindowLiveResizeAttribute : 0);
OSStatus r;
- rect.top = 0; rect.left = 0; rect.bottom = 300; rect.right=300;
- winWidth = winHeight = 300;
+ rect.top = rect.left = 0;
+ rect.bottom = rect.right = 10;
+ winWidth = winHeight = 10;
r = WC(CreateNewWindow)(wc, attr, &rect, &window);
checkStatus(r,"CreateNewWindow");
db->activateContext();
glFlush();
checkGLError();
-
+
WC(aglSetCurrentContext)(ctx);
checkGLError();