[mutter] cogl: drop extraneous parentheses
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] cogl: drop extraneous parentheses
- Date: Tue, 19 Nov 2019 21:45:10 +0000 (UTC)
commit d48fec88554562cd21028194ba8aeb8b0fa63385
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date: Fri Nov 15 21:52:08 2019 +0100
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]