mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 16:19:08 +01:00
Merge pull request #909 from lioncash/const
gl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function
This commit is contained in:
commit
64806a8397
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;
|
||||
|
|
Loading…
Reference in a new issue