aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2020-07-01 16:20:17 +1000
committerMarge Bot <[email protected]>2020-07-02 23:52:53 +0000
commitdfb9be6994f663c47930f3b2ed46b9f880306730 (patch)
tree7db58ab8a30e67a5cc1035f1ff9e0aa4bbacb0cf /src/mesa
parent8b90310b4018056b9d7c8770565b84e1ba0938ab (diff)
mesa: fix unintended fallthrough in glIsEnabled()
Fixes: 08fae07f5246 ("mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()") Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/enable.c2
1 files changed, 2 insertions, 0 deletions
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 */