summaryrefslogtreecommitdiff
path: root/Source/Core/Common/GL/GLInterface/EGL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/GL/GLInterface/EGL.cpp')
-rw-r--r--Source/Core/Common/GL/GLInterface/EGL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/GL/GLInterface/EGL.cpp b/Source/Core/Common/GL/GLInterface/EGL.cpp
index 02b1576557..9deb4f20e7 100644
--- a/Source/Core/Common/GL/GLInterface/EGL.cpp
+++ b/Source/Core/Common/GL/GLInterface/EGL.cpp
@@ -50,10 +50,10 @@ void cInterfaceEGL::DetectMode()
EGLint num_configs;
bool supportsGL = false, supportsGLES2 = false, supportsGLES3 = false;
- std::array<int, 3> renderable_types = {
+ std::array<int, 3> renderable_types{{
EGL_OPENGL_BIT, (1 << 6), /* EGL_OPENGL_ES3_BIT_KHR */
EGL_OPENGL_ES2_BIT,
- };
+ }};
for (auto renderable_type : renderable_types)
{