From 390cc13834a230cbb27d448fb07491fb78d6a982 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Sun, 30 Jan 2022 21:46:06 -0500 Subject: [PATCH] OGLRender: Set object name support on GL >4.3 and GL ES 3.2 --- Source/Core/VideoBackends/OGL/OGLRender.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoBackends/OGL/OGLRender.cpp b/Source/Core/VideoBackends/OGL/OGLRender.cpp index 53ed78877f..123b11b2d6 100644 --- a/Source/Core/VideoBackends/OGL/OGLRender.cpp +++ b/Source/Core/VideoBackends/OGL/OGLRender.cpp @@ -583,6 +583,7 @@ Renderer::Renderer(std::unique_ptr main_gl_context, float backbuffer_ g_ogl_config.bSupports3DTextureStorageMultisample = true; g_Config.backend_info.bSupportsBitfield = true; g_Config.backend_info.bSupportsDynamicSamplerIndexing = true; + g_Config.backend_info.bSupportsSettingObjectNames = true; } } else @@ -628,6 +629,7 @@ Renderer::Renderer(std::unique_ptr main_gl_context, float backbuffer_ g_ogl_config.bSupportsTextureStorage = true; g_ogl_config.bSupportsImageLoadStore = true; g_Config.backend_info.bSupportsSSAA = true; + g_Config.backend_info.bSupportsSettingObjectNames = true; // Compute shaders are core in GL4.3. g_Config.backend_info.bSupportsComputeShaders = true;