# HG changeset patch # User reimar # Date 1124453384 0 # Node ID d5374d07492aa3477f1124fdc5c4f1155d8b40b0 # Parent 6a94def226d79be93062710f25c0d3d9c30b8319 Fix crash in windows diff -r 6a94def226d7 -r d5374d07492a libvo/gl_common.c --- a/libvo/gl_common.c Fri Aug 19 11:52:11 2005 +0000 +++ b/libvo/gl_common.c Fri Aug 19 12:09:44 2005 +0000 @@ -22,7 +22,7 @@ void (APIENTRY *ProgramString)(GLenum, GLenum, GLsizei, const GLvoid *); void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -int (*SwapInterval)(int); +int (APIENTRY *SwapInterval)(int); /** * \brief adjusts the GL_UNPACK_ALGNMENT to fit the stride. diff -r 6a94def226d7 -r d5374d07492a libvo/gl_common.h --- a/libvo/gl_common.h Fri Aug 19 11:52:11 2005 +0000 +++ b/libvo/gl_common.h Fri Aug 19 12:09:44 2005 +0000 @@ -108,6 +108,6 @@ extern void (APIENTRY *ProgramString)(GLenum, GLenum, GLsizei, const GLvoid *); extern void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat); -extern int (*SwapInterval)(int); +extern int (APIENTRY *SwapInterval)(int); #endif