mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 08:44:19 +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
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user