diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-19 20:49:00 -0400 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-19 20:49:00 -0400 |
commit | 08cdcc2871ceb8a2dc929e2d20c146dc72452cfc (patch) | |
tree | 8f1e267477148fadb6f5bd16b00c185a1bcff549 /src | |
parent | 62c2404d3c2dc6b7684036e3c2477827aae7142a (diff) |
Apply Position Y Direction
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.cpp | 3 |
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) { |