summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-22 14:15:58 -0700
committerBrian Paul <[email protected]>2009-02-22 15:39:54 -0700
commit0057f5b8cd93ebeb66392defc7285e3e474aa411 (patch)
treeba91b8943fbae56bcd088f183176338b53c8bc0c /src/mesa/main
parent022e446c78d294d70129c9e4293b5c7e444a3cbd (diff)
mesa: remove redundant assertions (same asserts in context.c)
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/texstate.c3
1 files changed, 0 insertions, 3 deletions
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;