From dfb9be6994f663c47930f3b2ed46b9f880306730 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 1 Jul 2020 16:20:17 +1000 Subject: [PATCH] mesa: fix unintended fallthrough in glIsEnabled() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 08fae07f5246 ("mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()") Reviewed-by: Marek Olšák Part-of: --- src/mesa/main/enable.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 8d33b71df75..1d83ba04f78 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1727,6 +1727,8 @@ _mesa_IsEnabled( GLenum cap ) return (texUnit->TexGenEnabled & STR_BITS) == STR_BITS ? GL_TRUE : GL_FALSE; } + + return GL_FALSE; } /* client-side state */ -- 2.30.2