diff options
author | Hexagon12 <Hexagon12@users.noreply.github.com> | 2019-04-23 17:29:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 17:29:29 +0200 |
commit | b2fbcaae30b222b11dec3b78c539f91677603bfe (patch) | |
tree | eacc902d481df17fa325f87b856c616bf5e74bb7 | |
parent | Merge pull request #2383 from ReinUsesLisp/aoffi-test (diff) | |
parent | Apply Position Y Direction (diff) | |
download | yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.gz yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.bz2 yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.lz yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.xz yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.tar.zst yuzu-b2fbcaae30b222b11dec3b78c539f91677603bfe.zip |
-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 c055005ed..6abf948f8 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp @@ -58,6 +58,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) { |