diff options
Diffstat (limited to 'render/gles2/util.c')
-rw-r--r-- | render/gles2/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/gles2/util.c b/render/gles2/util.c index c291f533..3ac777ee 100644 --- a/render/gles2/util.c +++ b/render/gles2/util.c @@ -28,10 +28,10 @@ bool _gles2_flush_errors(const char *file, int line) { failure = true; if (err == GL_OUT_OF_MEMORY) { // The OpenGL context is now undefined - _wlr_log(L_ERROR, "[%s:%d] Fatal GL error: out of memory", file, line); + _wlr_log(WLR_ERROR, "[%s:%d] Fatal GL error: out of memory", file, line); exit(1); } else { - _wlr_log(L_ERROR, "[%s:%d] GL error %d %s", file, line, err, gles2_strerror(err)); + _wlr_log(WLR_ERROR, "[%s:%d] GL error %d %s", file, line, err, gles2_strerror(err)); } } return failure; |