Fix calling convention of GL debug callback;

This commit is contained in:
bjorn 2020-07-29 14:56:46 -06:00
parent d4f88f3d8d
commit 99fdcc8287
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ static void lovrGpuSetViewports(float* viewport, uint32_t count) {
// GPU
static void onMessage(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userdata) {
static void GLAPIENTRY onMessage(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userdata) {
int level;
switch (severity) {
case GL_DEBUG_SEVERITY_HIGH: level = LOG_ERROR; break;