Explorar o código

gl_shader_gen: Initialize position.

IMO the old code is fine, but nvidia raises shader compiler warnings.
Trivial fix through...
Markus Wick %!s(int64=8) %!d(string=hai) anos
pai
achega
a781042700
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/video_core/renderer_opengl/gl_shader_gen.cpp

+ 1 - 0
src/video_core/renderer_opengl/gl_shader_gen.cpp

@@ -42,6 +42,7 @@ layout (std140) uniform vs_config {
 };
 
 void main() {
+    position = vec4(0.0, 0.0, 0.0, 0.0);
     exec_vertex();
 )";