summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2016-05-25 11:45:13 -0600
committerBrian Paul <brianp@vmware.com>2016-05-25 12:23:12 -0600
commitae7c4a6f9805673932205f76003d95476729f2ee (patch)
tree35398f16fe544ef18156d4023bd2418b6ced2fad
parent1b62b47f6fcaf5a825a5a909c91e802bffae3b1d (diff)
mesa: add GLAPIENTRY to new _context_lost_X functions
To fix MSVC build. Any function which goes into the dispatch table needs to have the GLAPIENTRY (__stdcall) tag. Reviewed-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
-rw-r--r--src/mesa/main/getstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 125b03aeca6..8989b08a15f 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -311,7 +311,7 @@ _mesa_GetError( void )
return e;
}
-static void
+static void GLAPIENTRY
_context_lost_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
GLint *values)
{
@@ -323,7 +323,7 @@ _context_lost_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *len
*values = GL_SIGNALED;
}
-static void
+static void GLAPIENTRY
_context_lost_GetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
{
GET_CURRENT_CONTEXT(ctx);