diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-20 02:49:00 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-04-20 02:49:00 +0200 |
commit | 08cdcc2871ceb8a2dc929e2d20c146dc72452cfc (patch) | |
tree | 8f1e267477148fadb6f5bd16b00c185a1bcff549 | |
parent | Merge pull request #2415 from lioncash/const (diff) | |
download | yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.gz yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.bz2 yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.lz yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.xz yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.zst yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.zip |
Diffstat (limited to '')
-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) { |