From 5da34263f61bb1f0170904abf5d875b13a5db6f4 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 19 Aug 2005 12:09:44 +0000 Subject: Fix crash in windows git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16271 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.c | 2 +- libvo/gl_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 2ea61d7079..1e22593dff 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -22,7 +22,7 @@ void (APIENTRY *BindProgram)(GLenum, GLuint); 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 --git a/libvo/gl_common.h b/libvo/gl_common.h index 0022379623..9d36e9f180 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -108,6 +108,6 @@ extern void (APIENTRY *BindProgram)(GLenum, GLuint); 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 -- cgit v1.2.3