summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsalvez <[email protected]>2015-10-02 08:43:51 +0200
committerSamuel Iglesias Gonsalvez <[email protected]>2015-10-09 08:12:10 +0200
commit5be9bf2746370ecb180536eb2e5e48391b224dec (patch)
tree201d435e66e5a7c44ee385688120efcfe78610ef /src/mesa/main
parentd8d0e4a81e42678cc8c8b876dfee24d5c2f4ba38 (diff)
main: fix goto in program_resource_top_level_array_stride
Use found_top_level_array_stride instead of found_top_level_array_size. Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shader_query.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 6d73e3bdcf2..caaa78caa53 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -1010,11 +1010,11 @@ program_resource_top_level_array_stride(struct gl_shader_program *shProg,
} else {
array_stride = 0;
}
- goto found_top_level_array_size;
+ goto found_top_level_array_stride;
}
}
}
-found_top_level_array_size:
+found_top_level_array_stride:
free(interface_name);
free(var_name);
return array_stride;