diff options
Diffstat (limited to 'src/mesa/tnl/t_vb_program.c')
-rw-r--r-- | src/mesa/tnl/t_vb_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 452c00620f4..7fac7ec893b 100644 --- a/src/mesa/tnl/t_vb_program.c +++ b/src/mesa/tnl/t_vb_program.c @@ -287,7 +287,7 @@ static GLboolean run_validate_program( GLcontext *ctx, */ static void init_color_array( struct gl_client_array *a, GLvector4f *vec ) { - a->Ptr = vec->data; + a->Ptr = (GLubyte *) vec->data; a->Size = 4; a->Type = GL_FLOAT; a->Stride = 0; |