summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-10-30 00:40:56 -0300
committerGravatar ReinUsesLisp2019-11-07 01:52:18 -0300
commite2ea0c3e11d877ab9c93aaf8a8dc694b93a0aeb6 (patch)
tree7328c087a0acc793f5e39412e7b11742a3bc1d65 /src
parentyuzu_cmd: Use string_view instead of string for extensions (diff)
downloadyuzu-e2ea0c3e11d877ab9c93aaf8a8dc694b93a0aeb6.tar.gz
yuzu-e2ea0c3e11d877ab9c93aaf8a8dc694b93a0aeb6.tar.xz
yuzu-e2ea0c3e11d877ab9c93aaf8a8dc694b93a0aeb6.zip
gl_shader_manager: Remove unused variable in SetFromRegs
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.cpp1
1 files changed, 0 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 cd729d978..75d3fac04 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp
@@ -42,7 +42,6 @@ void ProgramManager::UpdatePipeline() {
42 42
43void MaxwellUniformData::SetFromRegs(const Maxwell3D& maxwell) { 43void MaxwellUniformData::SetFromRegs(const Maxwell3D& maxwell) {
44 const auto& regs = maxwell.regs; 44 const auto& regs = maxwell.regs;
45 const auto& state = maxwell.state;
46 45
47 // Y_NEGATE controls what value S2R returns for the Y_DIRECTION system value. 46 // Y_NEGATE controls what value S2R returns for the Y_DIRECTION system value.
48 y_direction = regs.screen_y_control.y_negate == 0 ? 1.0f : -1.0f; 47 y_direction = regs.screen_y_control.y_negate == 0 ? 1.0f : -1.0f;