diff src/video/xbios/SDL_xbios.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 c6ed27c7d47d
line wrap: on
line diff
--- a/src/video/xbios/SDL_xbios.c	Fri Nov 26 22:11:30 2004 +0000
+++ b/src/video/xbios/SDL_xbios.c	Sat Nov 27 21:28:49 2004 +0000
@@ -883,12 +883,9 @@
 
 static void XBIOS_GL_SwapBuffers(_THIS)
 {
-	if (gl_active) {
-		gl_copyshadow(this, this->screen);
-		gl_convert(this, this->screen);
-		XBIOS_FlipHWSurface(this, this->screen);
-		SDL_AtariGL_MakeCurrent(this);
-	}
+	SDL_AtariGL_SwapBuffers(this);
+	XBIOS_FlipHWSurface(this, this->screen);
+	SDL_AtariGL_MakeCurrent(this);
 }
 
 #endif