summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-06 19:06:09 +0200
committerGitHub <noreply@github.com>2018-09-06 19:06:09 +0200
commitfbaefc47a0250864f079b846a2d800f2a0342c73 (patch)
treec4ec47a4a156f711c843925b16070fadfa6b91c9
parentMerge pull request #1243 from degasus/VAO_cache (diff)
parentgl_shader_gen: Initialize position. (diff)
downloadyuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar.gz
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar.bz2
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar.lz
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar.xz
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.tar.zst
yuzu-fbaefc47a0250864f079b846a2d800f2a0342c73.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp1
1 files changed, 1 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 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();
)";