forked from ShuriZma/suyu
1
0
Fork 0

Merge pull request #909 from lioncash/const

gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
This commit is contained in:
bunnei 2018-08-03 14:07:30 -04:00 committed by GitHub
commit 64806a8397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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