summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglcurrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/main/eglcurrent.c')
-rw-r--r--src/egl/main/eglcurrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c
index 26f42761e26..df0463d70e5 100644
--- a/src/egl/main/eglcurrent.c
+++ b/src/egl/main/eglcurrent.c
@@ -287,7 +287,7 @@ _eglError(EGLint errCode, const char *msg)
type = EGL_DEBUG_MSG_ERROR_KHR;
}
- _eglDebugReport(errCode, msg, type, NULL);
+ _eglDebugReport(errCode, NULL, type, msg);
} else
_eglInternalError(errCode, msg);