summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-03 20:07:30 +0200
committerGitHub <noreply@github.com>2018-08-03 20:07:30 +0200
commit64806a8397b58e2785297c9de2692edd62fc01c2 (patch)
tree676d388c5fd7fc630b2d79af50c7bac11677dd0b
parentAdded ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851) (diff)
parentgl_shader_manager: Make ProgramManager's GetCurrentProgramStage() a const member function (diff)
downloadyuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar.gz
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar.bz2
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar.lz
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar.xz
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.tar.zst
yuzu-64806a8397b58e2785297c9de2692edd62fc01c2.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h
index 2214c348a..716933a0b 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.h
+++ b/src/video_core/renderer_opengl/gl_shader_manager.h
@@ -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;