*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 06 Feb 1998 03:51:40 +0100
changeset 2048 03e1a4cd562a
parent 2047 69916b8b1f78
child 2049 1ceec8ef240e
*** empty log message ***
GLXWorkstat.st
GLXWorkstation.st
--- a/GLXWorkstat.st	Fri Feb 06 00:07:55 1998 +0100
+++ b/GLXWorkstat.st	Fri Feb 06 03:51:40 1998 +0100
@@ -8487,10 +8487,11 @@
 !GLXWorkstation methodsFor:'window control'!
 
 glxResizedView:aGLXWindowId width:width height:height
-    "pass down resize info to the GL - this adjusts the viewport"
-
-%{  /* NOCONTEXT */
-#ifdef GLX
+    "pass down resize info to the GL - this adjusts the viewport.
+     This only works with VGL or openGL"
+
+%{  /* NOCONTEXT */
+#ifndef GLX
     SETWIN(aGLXWindowId)
     X11_resized(__intVal(width), __intVal(height));
     RETURN (true);
@@ -8792,5 +8793,5 @@
 !GLXWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Attic/GLXWorkstat.st,v 1.69 1998-02-05 16:56:38 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Attic/GLXWorkstat.st,v 1.70 1998-02-06 02:51:40 cg Exp $'
 ! !
--- a/GLXWorkstation.st	Fri Feb 06 00:07:55 1998 +0100
+++ b/GLXWorkstation.st	Fri Feb 06 03:51:40 1998 +0100
@@ -8487,10 +8487,11 @@
 !GLXWorkstation methodsFor:'window control'!
 
 glxResizedView:aGLXWindowId width:width height:height
-    "pass down resize info to the GL - this adjusts the viewport"
-
-%{  /* NOCONTEXT */
-#ifdef GLX
+    "pass down resize info to the GL - this adjusts the viewport.
+     This only works with VGL or openGL"
+
+%{  /* NOCONTEXT */
+#ifndef GLX
     SETWIN(aGLXWindowId)
     X11_resized(__intVal(width), __intVal(height));
     RETURN (true);
@@ -8792,5 +8793,5 @@
 !GLXWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.69 1998-02-05 16:56:38 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/GLXWorkstation.st,v 1.70 1998-02-06 02:51:40 cg Exp $'
 ! !