Mesa (master): mesa: add GLAPIENTRY to new _context_lost_X functions
Brian Paul
brianp at kemper.freedesktop.org
Wed May 25 18:23:39 UTC 2016
Module: Mesa
Branch: master
Commit: ae7c4a6f9805673932205f76003d95476729f2ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ae7c4a6f9805673932205f76003d95476729f2ee
Author: Brian Paul <brianp at vmware.com>
Date: Wed May 25 11:45:13 2016 -0600
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 at bitplanet.net>
---
src/mesa/main/getstring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 125b03a..8989b08 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);
More information about the mesa-commit
mailing list