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 */