summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorFritz Koenig <[email protected]>2018-09-14 11:40:49 -0700
committerKristian H. Kristensen <[email protected]>2018-09-17 11:48:00 -0700
commit60d0c0d062b543b85a354e5266aa974fcdc36290 (patch)
treef235668ef3a6409e5a206ab60849d7d8b595ab84 /src/mesa/main
parentba6cc32cf9337804d744f234a196c97923c84360 (diff)
mesa: FramebufferParameteri parameter checking
Missing break; causes parameter checking to never pass GL_FRAMEBUFFER_FLIP_Y_MESA parameters. Fixes: 318c265160 ("mesa: GL_MESA_framebuffer_flip_y extension [v4]") Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/fbobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index edb86438e39..3263fce845e 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1503,6 +1503,7 @@ framebuffer_parameteri(struct gl_context *ctx, struct gl_framebuffer *fb,
if (!ctx->Extensions.MESA_framebuffer_flip_y)
goto invalid_pname_enum;
cannot_be_winsys_fbo = true;
+ break;
default:
goto invalid_pname_enum;
}