Browse Source

glstuff: Remove unused variable

rdb 1 year ago
parent
commit
e0b6d7383f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      panda/src/glstuff/glShaderContext_src.cxx

+ 0 - 1
panda/src/glstuff/glShaderContext_src.cxx

@@ -1009,7 +1009,6 @@ reflect_program(GLuint program, SparseArray &active_locations) {
 
 
     // Count the number of parts in the name that match the current stack.
     // Count the number of parts in the name that match the current stack.
     size_t i = 0;
     size_t i = 0;
-    bool skip = false;
     while (i < struct_stack.size() && i < parts.size() - 1 &&
     while (i < struct_stack.size() && i < parts.size() - 1 &&
            struct_stack[i].name == parts[i]) {
            struct_stack[i].name == parts[i]) {
       if (sizes[i] > struct_stack[i].num_elements) {
       if (sizes[i] > struct_stack[i].num_elements) {