Mercurial > mplayer.hg
changeset 16270:d5374d07492a
Fix crash in windows
author | reimar |
---|---|
date | Fri, 19 Aug 2005 12:09:44 +0000 |
parents | 6a94def226d7 |
children | 03884f9a35cc |
files | libvo/gl_common.c libvo/gl_common.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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