projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022e446
)
mesa: remove redundant assertions (same asserts in context.c)
author
Brian Paul
<brianp@vmware.com>
Sun, 22 Feb 2009 21:15:58 +0000
(14:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sun, 22 Feb 2009 22:39:54 +0000
(15:39 -0700)
src/mesa/main/texstate.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstate.c
b/src/mesa/main/texstate.c
index 3f16d49a41985b53cd444280961dca64f468cc40..c4ca7c4a199c47ae60c1a854d75fe3d5e0380355 100644
(file)
--- 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;