GL: Use GLAPIENTRY instead of APIENTRY

They're the same on Windows, but Linux doesn't have APIENTRY at all.
issue1247
Nicolas Hake 2015-02-16 18:48:35 +01:00
parent 4db690b0c6
commit feb9513666
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ namespace
}
}
void APIENTRY OpenGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam)
void GLAPIENTRY OpenGLDebugProc(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* message, const void* userParam)
{
const char *msg_source = MsgSourceToStr(source);
const char *msg_type = MsgTypeToStr(type);