diff options
author | Timothy Arceri <[email protected]> | 2016-09-12 09:24:00 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-09-12 22:43:49 +1000 |
commit | 2da15a3b89aa6ab6f1a7f78f57e3ef91b2ddda50 (patch) | |
tree | 987605f504a5864279a4778eed11b4be23ee2f2c /src/egl | |
parent | b8703e363c7f949c7257c4ab1ab12c4663702dad (diff) |
egl: fix gcc warning braces around scalar initializer
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/eglcurrent.c | 2 |
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; |