From a7810427000e7cb7d7580e53b8e6eaadcc04a17a Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Thu, 6 Sep 2018 12:45:47 +0200 Subject: gl_shader_gen: Initialize position. IMO the old code is fine, but nvidia raises shader compiler warnings. Trivial fix through... --- src/video_core/renderer_opengl/gl_shader_gen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core') diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp index 6ca05945e..e1b1a9d73 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.cpp +++ b/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(); )"; -- cgit v1.2.3