comparison 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
comparison
equal deleted inserted replaced
992:0324ce32b2d9 993:2662da16d668
48 /* to convert the shadow buffer to the screen format */ 48 /* to convert the shadow buffer to the screen format */
49 void (*CopyShadow)(_THIS, SDL_Surface *surface); 49 void (*CopyShadow)(_THIS, SDL_Surface *surface);
50 50
51 OSMesaContext ctx; 51 OSMesaContext ctx;
52 52
53 /* OpenGL functions */
54 void (*glGetIntegerv)( GLenum pname, GLint *value );
55 void (*glFinish)(void);
56
53 /* osmesa.ldg */ 57 /* osmesa.ldg */
54 OSMesaContext (*OSMesaCreateContextExt)( GLenum format, GLint depthBits, GLint stencilBits, GLint accumBits, OSMesaContext sharelist); 58 OSMesaContext (*OSMesaCreateContextExt)( GLenum format, GLint depthBits, GLint stencilBits, GLint accumBits, OSMesaContext sharelist);
55 void (*OSMesaDestroyContext)( OSMesaContext ctx ); 59 void (*OSMesaDestroyContext)( OSMesaContext ctx );
56 GLboolean (*OSMesaMakeCurrent)( OSMesaContext ctx, void *buffer, GLenum type, GLsizei width, GLsizei height ); 60 GLboolean (*OSMesaMakeCurrent)( OSMesaContext ctx, void *buffer, GLenum type, GLsizei width, GLsizei height );
57 void (*OSMesaPixelStore)( GLint pname, GLint value ); 61 void (*OSMesaPixelStore)( GLint pname, GLint value );
58 void * (*OSMesaGetProcAddress)( const char *funcName ); 62 void * (*OSMesaGetProcAddress)( const char *funcName );
59 void (*glGetIntegerv)( GLenum pname, GLint *value );
60 63
61 /* mesa_gl.ldg, tiny_gl.ldg */ 64 /* mesa_gl.ldg, tiny_gl.ldg */
62 void *(*OSMesaCreateLDG)( long format, long type, long width, long height ); 65 void *(*OSMesaCreateLDG)( long format, long type, long width, long height );
63 void (*OSMesaDestroyLDG)(void); 66 void (*OSMesaDestroyLDG)(void);
64 67