diff src/video/x11/SDL_x11events.c @ 161:eb6b76a95f2d

An expose event is now sent when using XVideo output.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 31 Aug 2001 21:08:30 +0000
parents 53e3d8ba4321
children e8157fcb3114
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.c	Fri Aug 31 20:53:05 2001 +0000
+++ b/src/video/x11/SDL_x11events.c	Fri Aug 31 21:08:30 2001 +0000
@@ -407,11 +407,7 @@
 printf("Expose (count = %d)\n", xevent.xexpose.count);
 #endif
 		if ( SDL_VideoSurface && (xevent.xexpose.count == 0) ) {
-			if ( SDL_VideoSurface->flags & SDL_OPENGL ) {
-				SDL_PrivateExpose();
-			} else {
-				X11_RefreshDisplay(this);
-			}
+			X11_RefreshDisplay(this);
 		}
 	    }
 	    break;