mesa: fix unintended fallthrough in glIsEnabled()
Fixes: 08fae07f52 ("mesa: Handle GL_TEXTURE_GEN_STR_OES in _mesa_Enable()")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5705>
This commit is contained in:
committed by
Marge Bot
parent
8b90310b40
commit
dfb9be6994
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user