summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-09-12 09:24:00 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-09-12 22:43:49 +1000
commit2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50 (patch)
tree987605f504a5864279a4778eed11b4be23ee2f2c /src/egl/main
parentb8703e363c7f949c7257c4ab1ab12c4663702dad (diff)
downloadexternal_mesa3d-2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50.zip
external_mesa3d-2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50.tar.gz
external_mesa3d-2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50.tar.bz2
egl: fix gcc warning braces around scalar initializer
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
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 345f4cc..2a225bc 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;