diff --git a/Source/Core/VideoBackends/OGL/OGLShader.cpp b/Source/Core/VideoBackends/OGL/OGLShader.cpp index f2b970d71b..7caa24416c 100644 --- a/Source/Core/VideoBackends/OGL/OGLShader.cpp +++ b/Source/Core/VideoBackends/OGL/OGLShader.cpp @@ -44,7 +44,7 @@ OGLShader::OGLShader(GLuint gl_compute_program_id, std::string source, std::stri { if (!m_name.empty() && g_ActiveConfig.backend_info.bSupportsSettingObjectNames) { - glObjectLabel(GL_SHADER, m_gl_compute_program_id, -1, m_name.c_str()); + glObjectLabel(GL_PROGRAM, m_gl_compute_program_id, -1, m_name.c_str()); } }