gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function

This function doesn't modify class state, so it can be made const.
master
Lioncash 2018-08-03 12:08:15 +07:00
parent c1d54f4aea
commit 555d76d065
1 changed files with 1 additions and 1 deletions

@ -118,7 +118,7 @@ public:
return result;
}
GLuint GetCurrentProgramStage(Maxwell3D::Regs::ShaderStage stage) {
GLuint GetCurrentProgramStage(Maxwell3D::Regs::ShaderStage stage) const {
switch (stage) {
case Maxwell3D::Regs::ShaderStage::Vertex:
return current.vs;