mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
OGL: fix compute shader labels
This fixes GL_INVALID_VALUE errors when using GPU texture decoding.
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user