mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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…
Add table
Reference in a new issue