mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 14:42:52 +00:00
Merge pull request #5166 from ligfx/eglwarning
EGL: Fix missing-braces warning
This commit is contained in:
commit
89de08d649
@ -50,10 +50,10 @@ void cInterfaceEGL::DetectMode()
|
|||||||
|
|
||||||
EGLint num_configs;
|
EGLint num_configs;
|
||||||
bool supportsGL = false, supportsGLES2 = false, supportsGLES3 = false;
|
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_BIT, (1 << 6), /* EGL_OPENGL_ES3_BIT_KHR */
|
||||||
EGL_OPENGL_ES2_BIT,
|
EGL_OPENGL_ES2_BIT,
|
||||||
};
|
}};
|
||||||
|
|
||||||
for (auto renderable_type : renderable_types)
|
for (auto renderable_type : renderable_types)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user