Explorar o código

Apply Position Y Direction

Fernando Sahmkow %!s(int64=7) %!d(string=hai) anos
pai
achega
08cdcc2871
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/video_core/renderer_opengl/gl_shader_gen.cpp

+ 3 - 0
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) {