1
0
Fork 0
forked from suyu/suyu

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

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;