From d48fec88554562cd21028194ba8aeb8b0fa63385 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Fri, 15 Nov 2019 21:52:08 +0100 Subject: [PATCH] cogl: drop extraneous parentheses Fixes a compile warning with clang https://gitlab.gnome.org/GNOME/mutter/merge_requests/938 --- cogl/cogl/cogl-context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl/cogl-context.c b/cogl/cogl/cogl-context.c index 850fdbac8..f1a8bf2fc 100644 --- a/cogl/cogl/cogl-context.c +++ b/cogl/cogl/cogl-context.c @@ -347,7 +347,7 @@ cogl_context_new (CoglDisplay *display, */ GE (context, glEnable (GL_ALPHA_TEST)); - if ((context->driver == COGL_DRIVER_GL3)) + if (context->driver == COGL_DRIVER_GL3) { GLuint vertex_array;