[MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.15, 1.16 gl_common.h, 1.12, 1.13

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Aug 19 14:09:46 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv7073

Modified Files:
	gl_common.c gl_common.h 
Log Message:
Fix crash in windows


Index: gl_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/gl_common.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- gl_common.c	19 Aug 2005 09:31:02 -0000	1.15
+++ gl_common.c	19 Aug 2005 12:09:44 -0000	1.16
@@ -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.

Index: gl_common.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/gl_common.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gl_common.h	19 Aug 2005 09:31:02 -0000	1.12
+++ gl_common.h	19 Aug 2005 12:09:44 -0000	1.13
@@ -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




More information about the MPlayer-cvslog mailing list