diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-19 00:10:06 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-19 00:18:27 +0200 |
commit | 3a4841e40302d50b21064be7bc248b249ac88467 (patch) | |
tree | a63c0f3686216645ffd3fc40f069b68c42f4423f /src/video_core/renderer_opengl/gl_shader_manager.cpp | |
parent | Merge pull request #681 from lioncash/const (diff) | |
download | yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar.gz yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar.bz2 yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar.lz yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar.xz yuzu-3a4841e40302d50b21064be7bc248b249ac88467.tar.zst yuzu-3a4841e40302d50b21064be7bc248b249ac88467.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp index d7167b298..1aa437f76 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.cpp +++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp @@ -35,7 +35,7 @@ void SetShaderUniformBlockBindings(GLuint shader) { } // namespace Impl void MaxwellUniformData::SetFromRegs(const Maxwell3D::State::ShaderStageInfo& shader_stage) { - const auto& regs = Core::System().GetInstance().GPU().Maxwell3D().regs; + const auto& regs = Core::System::GetInstance().GPU().Maxwell3D().regs; // TODO(bunnei): Support more than one viewport viewport_flip[0] = regs.viewport_transform[0].scale_x < 0.0 ? -1.0f : 1.0f; |