aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-30 23:19:02 +0100
committeremersion <contact@emersion.fr>2018-06-30 23:19:02 +0100
commitcc9b198f9e4e00e59773e78ab8afe1c4c0fd1ee1 (patch)
tree2897ecafe78c4ca7686f63a68392aed70db40e70 /render/gles2
parenta7a96d7644ee00b29f9376576a0da8a26cf3cba6 (diff)
render/gles2: ditch extra parens
Diffstat (limited to 'render/gles2')
-rw-r--r--render/gles2/renderer.c2
1 files changed, 1 insertions, 1 deletions
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,