Skip to content
Snippets Groups Projects
Unverified Commit 64806a83 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #909 from lioncash/const

gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
parents c1d54f4a 555d76d0
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,7 @@ public: ...@@ -118,7 +118,7 @@ public:
return result; return result;
} }
GLuint GetCurrentProgramStage(Maxwell3D::Regs::ShaderStage stage) { GLuint GetCurrentProgramStage(Maxwell3D::Regs::ShaderStage stage) const {
switch (stage) { switch (stage) {
case Maxwell3D::Regs::ShaderStage::Vertex: case Maxwell3D::Regs::ShaderStage::Vertex:
return current.vs; return current.vs;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment