From: Fritz Koenig Date: Fri, 14 Sep 2018 18:40:49 +0000 (-0700) Subject: mesa: FramebufferParameteri parameter checking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60d0c0d062b543b85a354e5266aa974fcdc36290;p=mesa.git 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 --- 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; }