mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
OGLShader: Fix mismatched assignment in compute shader constructor
This shouldn't be assigning to the regular ID.
This commit is contained in:
@ -30,7 +30,8 @@ OGLShader::OGLShader(ShaderStage stage, GLenum gl_type, GLuint shader_id)
|
|||||||
}
|
}
|
||||||
|
|
||||||
OGLShader::OGLShader(GLuint compute_program_id)
|
OGLShader::OGLShader(GLuint compute_program_id)
|
||||||
: AbstractShader(ShaderStage::Compute), m_type(GL_COMPUTE_SHADER), m_id(compute_program_id)
|
: AbstractShader(ShaderStage::Compute), m_type(GL_COMPUTE_SHADER),
|
||||||
|
m_compute_program_id(compute_program_id)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user