diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-08-19 12:09:44 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-08-19 12:09:44 +0000 |
commit | 5da34263f61bb1f0170904abf5d875b13a5db6f4 (patch) | |
tree | f592e7e2e7e01d9f8f3e0f5491c6482aa704fd1b /libvo | |
parent | 6aa37e19913310b840baf9b68fa6da617c93840d (diff) | |
download | mpv-5da34263f61bb1f0170904abf5d875b13a5db6f4.tar.bz2 mpv-5da34263f61bb1f0170904abf5d875b13a5db6f4.tar.xz |
Fix crash in windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16271 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/gl_common.c | 2 | ||||
-rw-r--r-- | libvo/gl_common.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |