summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-09-12 09:24:00 +1000
committerTimothy Arceri <[email protected]>2016-09-12 22:43:49 +1000
commit2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50 (patch)
tree987605f504a5864279a4778eed11b4be23ee2f2c /src/egl/main
parentb8703e363c7f949c7257c4ab1ab12c4663702dad (diff)
egl: fix gcc warning braces around scalar initializer
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglcurrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/eglcurrent.c b/src/egl/main/eglcurrent.c
index 345f4cc8922..2a225bc4835 100644
--- a/src/egl/main/eglcurrent.c
+++ b/src/egl/main/eglcurrent.c
@@ -38,7 +38,7 @@
/* This should be kept in sync with _eglInitThreadInfo() */
#define _EGL_THREAD_INFO_INITIALIZER \
- { EGL_SUCCESS, { NULL }, 0 }
+ { EGL_SUCCESS, NULL, 0 }
/* a fallback thread info to guarantee that every thread always has one */
static _EGLThreadInfo dummy_thread = _EGL_THREAD_INFO_INITIALIZER;