From a7ac33488c2c909ec84177614b904d7d803ba8b3 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Tue, 23 Jul 2019 08:33:49 -0700 Subject: [PATCH] libobs-opengl: Remove unused VERTEXID code I think this was leftover from an abandoned approach. --- libobs-opengl/gl-shaderparser.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libobs-opengl/gl-shaderparser.c b/libobs-opengl/gl-shaderparser.c index 5c29517ac..abf349e1b 100644 --- a/libobs-opengl/gl-shaderparser.c +++ b/libobs-opengl/gl-shaderparser.c @@ -669,12 +669,6 @@ static void gl_rename_attributes(struct gl_shader_parser *glsp) size_t val; if (attrib->input) { - if (strcmp(attrib->mapping, "VERTEXID") == 0) { - dstr_replace(&glsp->gl_string, - attrib->name.array, "gl_VertexID"); - continue; - } - prefix = glsp->input_prefix; val = input_idx++; } else {