mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
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:
parent
1b62b47f6f
commit
ae7c4a6f98
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue