mirror of https://github.com/bjornbytes/lovr.git
Fix calling convention of GL debug callback;
This commit is contained in:
parent
d4f88f3d8d
commit
99fdcc8287
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue