comparison 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
comparison
equal deleted inserted replaced
992:0324ce32b2d9 993:2662da16d668
881 881
882 #ifdef HAVE_OPENGL 882 #ifdef HAVE_OPENGL
883 883
884 static void XBIOS_GL_SwapBuffers(_THIS) 884 static void XBIOS_GL_SwapBuffers(_THIS)
885 { 885 {
886 if (gl_active) { 886 SDL_AtariGL_SwapBuffers(this);
887 gl_copyshadow(this, this->screen); 887 XBIOS_FlipHWSurface(this, this->screen);
888 gl_convert(this, this->screen); 888 SDL_AtariGL_MakeCurrent(this);
889 XBIOS_FlipHWSurface(this, this->screen); 889 }
890 SDL_AtariGL_MakeCurrent(this); 890
891 } 891 #endif
892 }
893
894 #endif