mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user