From 60d0c0d062b543b85a354e5266aa974fcdc36290 Mon Sep 17 00:00:00 2001 From: Fritz Koenig Date: Fri, 14 Sep 2018 11:40:49 -0700 Subject: [PATCH] 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 Reviewed-by: Brian Paul --- src/mesa/main/fbobject.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2