summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/nvprogram.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-10-22 22:59:07 +0000
committerBrian Paul <[email protected]>2003-10-22 22:59:07 +0000
commitc5b1e81de48de5d8830bf5d92ff767ad1985e46e (patch)
tree169c3c09cdc4e69badfb46540db39439bc2d0ef4 /src/mesa/main/nvprogram.c
parent15c37348a5d47ece17ffef38978aa8253363e6ee (diff)
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.
Diffstat (limited to 'src/mesa/main/nvprogram.c')
-rw-r--r--src/mesa/main/nvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/nvprogram.c b/src/mesa/main/nvprogram.c
index e51a8c24b19..65ce7ca6526 100644
--- a/src/mesa/main/nvprogram.c
+++ b/src/mesa/main/nvprogram.c
@@ -484,7 +484,7 @@ _mesa_GetVertexAttribPointervNV(GLuint index, GLenum pname, GLvoid **pointer)
return;
}
- *pointer = ctx->Array.VertexAttrib[index].Ptr;;
+ *pointer = (GLvoid *) ctx->Array.VertexAttrib[index].Ptr;;
}