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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user