From cc9b198f9e4e00e59773e78ab8afe1c4c0fd1ee1 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 30 Jun 2018 23:19:02 +0100 Subject: [PATCH] render/gles2: ditch extra parens --- render/gles2/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index e8b0b27d..5233ed1b 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -291,7 +291,7 @@ static bool gles2_read_pixels(struct wlr_renderer *wlr_renderer, POP_GLES2_DEBUG; - return (glGetError() == GL_NO_ERROR); + return glGetError() == GL_NO_ERROR; } static bool gles2_format_supported(struct wlr_renderer *wlr_renderer,