summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-04-21 08:26:03 +0300
committerTapani Pälli <[email protected]>2015-04-21 14:38:59 +0300
commitad5ae271e7514e35e97c58f032b2949e3eee62c3 (patch)
tree200f33a8131290d229eb2b25ce5c39ad150c7f5b
parent5917ca349ae88b35779179a6a0d949ec910bc680 (diff)
mesa: add missing break in switch statement
Signed-off-by: Tapani Pälli <[email protected]> Reviewed-By: Martin Peres <[email protected]>
-rw-r--r--src/mesa/main/shader_query.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 14280582c78..336598d7799 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -634,7 +634,7 @@ _mesa_program_resource_find_index(struct gl_shader_program *shProg,
case GL_ATOMIC_COUNTER_BUFFER:
if (_mesa_program_resource_index(shProg, res) == index)
return res;
-
+ break;
case GL_TRANSFORM_FEEDBACK_VARYING:
case GL_PROGRAM_INPUT:
case GL_PROGRAM_OUTPUT: