diff options
| author | Léo Lam <leo@leolam.fr> | 2021-08-30 00:17:24 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-08-30 00:20:18 +0200 |
| commit | 815b590dfe1a383ca3f5da6bad1b1da7ed29834c (patch) | |
| tree | 1710dd420adb172539668b1ab5b3239a4eddc67e /Source/Core/VideoBackends/OGL/OGLRender.cpp | |
| parent | 006fc99e8e6c475bcdbb17d79000681f3892d67e (diff) | |
Update clang-format to version 12
12 is the latest release and various editors (VS, VSCode and CLion)
ship with clang-format 12 by default.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLRender.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLRender.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Source/Core/VideoBackends/OGL/OGLRender.cpp b/Source/Core/VideoBackends/OGL/OGLRender.cpp index 0f4101dc82..26cd912ec1 100644 --- a/Source/Core/VideoBackends/OGL/OGLRender.cpp +++ b/Source/Core/VideoBackends/OGL/OGLRender.cpp @@ -486,17 +486,14 @@ Renderer::Renderer(std::unique_ptr<GLContext> main_gl_context, float backbuffer_ if (m_main_gl_context->IsGLES()) { - g_ogl_config.SupportedESPointSize = - GLExtensions::Supports("GL_OES_geometry_point_size") ? - 1 : - GLExtensions::Supports("GL_EXT_geometry_point_size") ? 2 : 0; - g_ogl_config.SupportedESTextureBuffer = GLExtensions::Supports("VERSION_GLES_3_2") ? - EsTexbufType::TexbufCore : - GLExtensions::Supports("GL_OES_texture_buffer") ? - EsTexbufType::TexbufOes : - GLExtensions::Supports("GL_EXT_texture_buffer") ? - EsTexbufType::TexbufExt : - EsTexbufType::TexbufNone; + g_ogl_config.SupportedESPointSize = GLExtensions::Supports("GL_OES_geometry_point_size") ? 1 : + GLExtensions::Supports("GL_EXT_geometry_point_size") ? 2 : + 0; + g_ogl_config.SupportedESTextureBuffer = + GLExtensions::Supports("VERSION_GLES_3_2") ? EsTexbufType::TexbufCore : + GLExtensions::Supports("GL_OES_texture_buffer") ? EsTexbufType::TexbufOes : + GLExtensions::Supports("GL_EXT_texture_buffer") ? EsTexbufType::TexbufExt : + EsTexbufType::TexbufNone; supports_glsl_cache = true; g_ogl_config.bSupportsGLSync = true; |
