mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
OGL: fix compute shader labels
This fixes GL_INVALID_VALUE errors when using GPU texture decoding.
This commit is contained in:
parent
4955af5e27
commit
4b8fe959d4
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user