diff src/video/gem/SDL_gemvideo.c @ 993:2662da16d668

Forgot to flush OpenGL buffer using glFinish
author Patrice Mandin <patmandin@gmail.com>
date Sat, 27 Nov 2004 21:28:49 +0000
parents 0324ce32b2d9
children af92ee34b3e2
line wrap: on
line diff
--- a/src/video/gem/SDL_gemvideo.c	Fri Nov 26 22:11:30 2004 +0000
+++ b/src/video/gem/SDL_gemvideo.c	Sat Nov 27 21:28:49 2004 +0000
@@ -1276,11 +1276,8 @@
 
 static void GEM_GL_SwapBuffers(_THIS)
 {
-	if (gl_active) {
-		gl_copyshadow(this, this->screen);
-		gl_convert(this, this->screen);
-		GEM_FlipHWSurface(this, this->screen);
-	}
+	SDL_AtariGL_SwapBuffers(this);
+	GEM_FlipHWSurface(this, this->screen);
 }
 
 #endif