summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-03 18:03:45 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-03 18:03:45 +0000
commitba88dd0d92e818df20752ca5a4b1cd5fb0c49f76 (patch)
tree1bca1febc433a4027237d656d2fcd36227601785 /src/mesa/main/attrib.c
parented00b2ef33bc400f5baedbeefd065d53297beefa (diff)
downloadexternal_mesa3d-ba88dd0d92e818df20752ca5a4b1cd5fb0c49f76.zip
external_mesa3d-ba88dd0d92e818df20752ca5a4b1cd5fb0c49f76.tar.gz
external_mesa3d-ba88dd0d92e818df20752ca5a4b1cd5fb0c49f76.tar.bz2
s/5/NUM_TEXTURE_TARGETS/
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index c9ec113..a7448ee 100644
--- a/src/mesa/main/attrib.c
+++ b/src/mesa/main/attrib.c
@@ -1,4 +1,4 @@
-/* $Id: attrib.c,v 1.69 2002/06/17 23:36:31 brianp Exp $ */
+/* $Id: attrib.c,v 1.70 2002/09/03 18:03:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -674,7 +674,7 @@ pop_texture_group(GLcontext *ctx, const struct gl_texture_attrib *texAttrib)
}
/* Restore texture object state */
- for (i = 0; i < 5; i++) {
+ for (i = 0; i < NUM_TEXTURE_TARGETS; i++) {
GLenum target = 0;
const struct gl_texture_object *obj = NULL;
GLfloat bordColor[4];