summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-19 20:49:00 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-04-19 20:49:00 -0400
commit08cdcc2871ceb8a2dc929e2d20c146dc72452cfc (patch)
tree8f1e267477148fadb6f5bd16b00c185a1bcff549 /src
parent62c2404d3c2dc6b7684036e3c2477827aae7142a (diff)
Apply Position Y Direction
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index 8763d9c71..03ec1f020 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp
@@ -57,6 +57,9 @@ void main() {
}
out += R"(
+
+ // Set Position Y direction
+ position.y *= utof(config_pack[2]);
// Check if the flip stage is VertexB
// Config pack's second value is flip_stage
if (config_pack[1] == 1) {