From 7cbef152063e1fbb24e6204339ff4587a74be04b Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 9 Jul 2018 22:49:54 +0100 Subject: util: add wlr_ prefix to log symbols --- render/gles2/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/gles2/util.c') 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; -- cgit v1.2.3