--- a/GLXWorkstation.st Fri Aug 17 14:45:36 2001 +0200
+++ b/GLXWorkstation.st Tue Aug 21 11:27:53 2001 +0200
@@ -550,7 +550,7 @@
#endif
if (setjmp(errorReturn)) {
- printf("hard error in GL - return\n");
+ fprintf(stderr, "hard error in GL - return\n");
#ifdef HAS_SIGACTION
sigaction(SIGSEGV, &oldSig, 0);
#else
@@ -564,11 +564,11 @@
__CONT__
if (w <= 0) {
- printf("GL: bad width: %d\n", w);
+ fprintf(stderr, "GL: bad width: %d\n", w);
w = 1;
}
if (h <= 0) {
- printf("GL: bad height: %d\n", h);
+ fprintf(stderr, "GL: bad height: %d\n", h);
h = 1;
}
@@ -584,7 +584,7 @@
case GLXrgbSingleBuffer:
case GLXrgbDoubleBuffer:
- printf("Sorry, VGL can't support %s type of windows\n", typeToName[type]);
+ fprintf(stderr, "Sorry, VGL can't support %s type of windows\n", typeToName[type]);
__catchExit(0);
return 0;
}
@@ -618,7 +618,7 @@
# endif
if (i < 0) {
- printf("GLXlink returned %d\n", i);
+ fprintf(stderr, "GLXlink returned %d\n", i);
__catchExit(0);
return 0;
}
@@ -658,7 +658,7 @@
XGetWindowAttributes(dpy, parent, &pwa);
retconfig = GLXgetconfig(dpy, XScreenNumberOfScreen(pwa.screen), params);
if (retconfig == 0) {
- printf("Sorry, can't support %s type of windows\n", typeToName[type]);
+ fprintf(stderr, "Sorry, can't support %s type of windows\n", typeToName[type]);
__catchExit(0);
return 0;
}
@@ -732,7 +732,7 @@
# endif
if (i < 0) {
- printf("GLXlink returned %d\n", i);
+ fprintf(stderr, "GLXlink returned %d\n", i);
__catchExit(0);
return 0;
}
@@ -755,7 +755,7 @@
CWBorderPixel, &cwa);
vis = XGetVisualInfo(dpy, VisualScreenMask|VisualIDMask, &visual, &nret);
-printf("vis is %x\n", vis);
+ fprintf(stderr, "vis is %x\n", vis);
#endif /* GLX || VGL */
return win;
@@ -8800,5 +8800,5 @@
!GLXWorkstation class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.77 2000-07-02 12:55:42 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.78 2001-08-21 09:27:53 cg Exp $'
! !