diff src/video/x11/SDL_x11modes.c @ 1658:e49147870aac SDL-1.3

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents 5cf11b00b900
children 14717b52abc0
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c	Fri Apr 28 16:55:41 2006 +0000
+++ b/src/video/x11/SDL_x11modes.c	Mon May 01 06:58:33 2006 +0000
@@ -914,7 +914,7 @@
     /* We may need to refresh the screen at this point (no backing store)
        We also don't get an event, which is why we explicitly refresh. */
     if ( this->screen ) {
-        if ( this->screen->flags & SDL_OPENGL ) {
+        if ( this->screen->flags & SDL_INTERNALOPENGL ) {
             SDL_PrivateExpose();
         } else {
             X11_RefreshDisplay(this);
@@ -976,7 +976,7 @@
     /* We may need to refresh the screen at this point (no backing store)
        We also don't get an event, which is why we explicitly refresh. */
     if ( this->screen ) {
-        if ( this->screen->flags & SDL_OPENGL ) {
+        if ( this->screen->flags & SDL_INTERNALOPENGL ) {
             SDL_PrivateExpose();
         } else {
             X11_RefreshDisplay(this);