diff src/video/ataricommon/SDL_atarigl_c.h @ 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 22fc5f45bbb7
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_atarigl_c.h	Fri Nov 26 22:11:30 2004 +0000
+++ b/src/video/ataricommon/SDL_atarigl_c.h	Sat Nov 27 21:28:49 2004 +0000
@@ -50,13 +50,16 @@
 
 	OSMesaContext	ctx;
 
+	/* OpenGL functions */
+	void (*glGetIntegerv)( GLenum pname, GLint *value );
+	void (*glFinish)(void);
+
 	/* osmesa.ldg */
 	OSMesaContext (*OSMesaCreateContextExt)( GLenum format, GLint depthBits, GLint stencilBits, GLint accumBits, OSMesaContext sharelist);
 	void (*OSMesaDestroyContext)( OSMesaContext ctx );
 	GLboolean (*OSMesaMakeCurrent)( OSMesaContext ctx, void *buffer, GLenum type, GLsizei width, GLsizei height );
 	void (*OSMesaPixelStore)( GLint pname, GLint value );
 	void * (*OSMesaGetProcAddress)( const char *funcName );
-	void (*glGetIntegerv)( GLenum pname, GLint *value );
 
 	/* mesa_gl.ldg, tiny_gl.ldg */
 	void *(*OSMesaCreateLDG)( long format, long type, long width, long height );