Browse Source

Merge pull request #909 from lioncash/const

gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
pull/15/merge
bunnei 8 years ago
committed by GitHub
parent
commit
64806a8397
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/video_core/renderer_opengl/gl_shader_manager.h

2
src/video_core/renderer_opengl/gl_shader_manager.h

@ -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;

Loading…
Cancel
Save