summaryrefslogtreecommitdiff
path: root/src/mesa/main/condrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/condrender.c')
-rw-r--r--src/mesa/main/condrender.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/condrender.c b/src/mesa/main/condrender.c
index 4c5a59df490..1ceb1f60569 100644
--- a/src/mesa/main/condrender.c
+++ b/src/mesa/main/condrender.c
@@ -192,27 +192,27 @@ _mesa_check_conditional_render(struct gl_context *ctx)
switch (ctx->Query.CondRenderMode) {
case GL_QUERY_BY_REGION_WAIT:
- /* fall-through */
+ FALLTHROUGH;
case GL_QUERY_WAIT:
if (!q->Ready) {
ctx->Driver.WaitQuery(ctx, q);
}
return q->Result > 0;
case GL_QUERY_BY_REGION_WAIT_INVERTED:
- /* fall-through */
+ FALLTHROUGH;
case GL_QUERY_WAIT_INVERTED:
if (!q->Ready) {
ctx->Driver.WaitQuery(ctx, q);
}
return q->Result == 0;
case GL_QUERY_BY_REGION_NO_WAIT:
- /* fall-through */
+ FALLTHROUGH;
case GL_QUERY_NO_WAIT:
if (!q->Ready)
ctx->Driver.CheckQuery(ctx, q);
return q->Ready ? (q->Result > 0) : GL_TRUE;
case GL_QUERY_BY_REGION_NO_WAIT_INVERTED:
- /* fall-through */
+ FALLTHROUGH;
case GL_QUERY_NO_WAIT_INVERTED:
if (!q->Ready)
ctx->Driver.CheckQuery(ctx, q);