From c5b1e81de48de5d8830bf5d92ff767ad1985e46e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 22 Oct 2003 22:59:07 +0000 Subject: Initial work for bounds checking of vertex arrays and vertex buffer objects. Only glDrawArrays() done so far. Simplified glVertex/Color/etcPointer functions. Misc casts added here and there. --- src/mesa/main/arbprogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/arbprogram.c') diff --git a/src/mesa/main/arbprogram.c b/src/mesa/main/arbprogram.c index 5102758656..56aa615263 100644 --- a/src/mesa/main/arbprogram.c +++ b/src/mesa/main/arbprogram.c @@ -178,7 +178,7 @@ _mesa_GetVertexAttribPointervARB(GLuint index, GLenum pname, GLvoid **pointer) return; } - *pointer = ctx->Array.VertexAttrib[index].Ptr;; + *pointer = (GLvoid *) ctx->Array.VertexAttrib[index].Ptr;; } -- cgit v1.2.3