From 3ce70778f9b7a511613f1622a5e9844be987a40f Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 7 Jun 2014 19:31:57 -0700 Subject: [PATCH] OpenGL: Don't name VS inputs as 'geom' inputs. Geometry shaders come after vertex shaders, not before. --- libobs-opengl/gl-shaderparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs-opengl/gl-shaderparser.h b/libobs-opengl/gl-shaderparser.h index 5357d1b00..099a8b8f7 100644 --- a/libobs-opengl/gl-shaderparser.h +++ b/libobs-opengl/gl-shaderparser.h @@ -59,7 +59,7 @@ static inline void gl_shader_parser_init(struct gl_shader_parser *glsp, glsp->type = type; if (type == SHADER_VERTEX) { - glsp->input_prefix = "_geom_shader_attrib"; + glsp->input_prefix = "_input_attrib"; glsp->output_prefix = "_vertex_shader_attrib"; } else if (type == SHADER_PIXEL) { glsp->input_prefix = "_vertex_shader_attrib";