summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/gl_common.c2
-rw-r--r--libvo/gl_common.h2
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