diff options
| author | 2019-04-19 20:49:00 -0400 | |
|---|---|---|
| committer | 2019-04-19 20:49:00 -0400 | |
| commit | 08cdcc2871ceb8a2dc929e2d20c146dc72452cfc (patch) | |
| tree | 8f1e267477148fadb6f5bd16b00c185a1bcff549 /src | |
| parent | Merge pull request #2415 from lioncash/const (diff) | |
| download | yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.gz yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.tar.xz yuzu-08cdcc2871ceb8a2dc929e2d20c146dc72452cfc.zip | |
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() { | |||
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | out += R"( | 59 | out += R"( |
| 60 | |||
| 61 | // Set Position Y direction | ||
| 62 | position.y *= utof(config_pack[2]); | ||
| 60 | // Check if the flip stage is VertexB | 63 | // Check if the flip stage is VertexB |
| 61 | // Config pack's second value is flip_stage | 64 | // Config pack's second value is flip_stage |
| 62 | if (config_pack[1] == 1) { | 65 | if (config_pack[1] == 1) { |