summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-02-01 16:50:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-02-01 16:50:52 +0000
commit416149507426d35999391b55fbeb8253758c7250 (patch)
treee0ea9a37c923a3dac79fa5581685960f30a8844d
parent61c58fce3dd2450ae38a52f209d3372c080d9005 (diff)
fix texcoord unit assertion (bug 5780)
-rw-r--r--src/mesa/array_cache/ac_import.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/array_cache/ac_import.c b/src/mesa/array_cache/ac_import.c
index 416b2e793c..a44e42fae3 100644
--- a/src/mesa/array_cache/ac_import.c
+++ b/src/mesa/array_cache/ac_import.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.4.2
*
- * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -278,7 +278,7 @@ import_texcoord( GLcontext *ctx, GLuint unit, GLenum type, GLuint stride )
struct gl_client_array *to = &ac->Cache.TexCoord[unit];
(void) type; (void) stride;
- ASSERT(unit < ctx->Const.MaxTextureCoordUnits);
+ ASSERT(unit < MAX_TEXTURE_COORD_UNITS);
/* Limited choices at this stage:
*/