From: Brian Paul Date: Sun, 22 Feb 2009 21:15:58 +0000 (-0700) Subject: mesa: remove redundant assertions (same asserts in context.c) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0057f5b8cd93ebeb66392defc7285e3e474aa411;p=mesa.git mesa: remove redundant assertions (same asserts in context.c) --- diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 3f16d49a419..c4ca7c4a199 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -753,9 +753,6 @@ _mesa_init_texture(GLcontext *ctx) { GLuint i; - assert(MAX_TEXTURE_LEVELS >= MAX_3D_TEXTURE_LEVELS); - assert(MAX_TEXTURE_LEVELS >= MAX_CUBE_TEXTURE_LEVELS); - /* Texture group */ ctx->Texture.CurrentUnit = 0; /* multitexture */ ctx->Texture._EnabledUnits = 0;