From ae0eaf93e092ac8e8b1c98f3e986de96940663fa Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 24 Nov 2003 15:23:18 +0000 Subject: Merge vtx-0-2-branch --- src/mesa/array_cache/ac_context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/array_cache') diff --git a/src/mesa/array_cache/ac_context.c b/src/mesa/array_cache/ac_context.c index 35d341d64e..ebf3a3dc47 100644 --- a/src/mesa/array_cache/ac_context.c +++ b/src/mesa/array_cache/ac_context.c @@ -93,7 +93,7 @@ static void _ac_fallbacks_init( GLcontext *ctx ) cl = &ac->Fallback.Index; cl->Size = 1; - cl->Type = GL_UNSIGNED_INT; + cl->Type = GL_FLOAT; cl->Stride = 0; cl->StrideB = 0; cl->Ptr = (GLubyte *) &ctx->Current.Index; @@ -217,9 +217,9 @@ static void _ac_cache_init( GLcontext *ctx ) cl = &ac->Cache.Index; cl->Size = 1; - cl->Type = GL_UNSIGNED_INT; + cl->Type = GL_FLOAT; cl->Stride = 0; - cl->StrideB = sizeof(GLuint); + cl->StrideB = sizeof(GLfloat); cl->Ptr = (GLubyte *) MALLOC( cl->StrideB * size ); cl->Enabled = 1; cl->Flags = 0; -- cgit v1.2.3