mesa: remove redundant assertions (same asserts in context.c)
authorBrian Paul <brianp@vmware.com>
Sun, 22 Feb 2009 21:15:58 +0000 (14:15 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 22 Feb 2009 22:39:54 +0000 (15:39 -0700)
src/mesa/main/texstate.c

index 3f16d49a41985b53cd444280961dca64f468cc40..c4ca7c4a199c47ae60c1a854d75fe3d5e0380355 100644 (file)
@@ -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;