Removed any OpenGL stuff

This commit is contained in:
nigel 2003-03-21 12:04:34 +00:00
parent 6180b4246a
commit 886ca6c348

View File

@ -296,7 +296,7 @@
#endif
}
// This is called when any of the screen/openGL/window,
// This is called when the screen/window,
// width, height or depth is clicked.
//
// Note that sender may not actually be an NSMatrix.
@ -311,9 +311,7 @@
short newtype;
char str[20];
if ( cell == openGL )
newtype = DISPLAY_OPENGL;
else if ( cell == screen )
if ( cell == screen )
newtype = DISPLAY_SCREEN;
else if ( cell == window )
newtype = DISPLAY_WINDOW;
@ -373,12 +371,6 @@
else
sprintf(str, "win/%hd/%hd", newx, newy);
break;
case DISPLAY_OPENGL:
if ( newbpp )
sprintf(str, "opengl/%hd/%hd/%hd", newx, newy, newbpp);
else
sprintf(str, "opengl/%hd/%hd", newx, newy);
break;
case DISPLAY_SCREEN:
if ( newbpp )
sprintf(str, "full/%hd/%hd/%hd", newx, newy, newbpp);
@ -685,7 +677,6 @@ shouldProceedAfterError: (NSDictionary *) errorDict
switch ( display_type )
{
case DISPLAY_WINDOW: [window setState: YES]; break;
case DISPLAY_OPENGL: [openGL setState: YES]; break;
case DISPLAY_SCREEN: [screen setState: YES]; break;
}