ctx->Array.Vertex.Size = size;
ctx->Array.Vertex.Type = type;
ctx->Array.Vertex.Stride = stride;
- ctx->Array.Vertex.Ptr = (void *) ptr;
+ ctx->Array.Vertex.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.Vertex.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.Normal.Size = 3;
ctx->Array.Normal.Type = type;
ctx->Array.Normal.Stride = stride;
- ctx->Array.Normal.Ptr = (void *) ptr;
+ ctx->Array.Normal.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.Normal.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.Color.Size = size;
ctx->Array.Color.Type = type;
ctx->Array.Color.Stride = stride;
- ctx->Array.Color.Ptr = (void *) ptr;
+ ctx->Array.Color.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.Color.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.FogCoord.Size = 1;
ctx->Array.FogCoord.Type = type;
ctx->Array.FogCoord.Stride = stride;
- ctx->Array.FogCoord.Ptr = (void *) ptr;
+ ctx->Array.FogCoord.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.FogCoord.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.Index.Size = 1;
ctx->Array.Index.Type = type;
ctx->Array.Index.Stride = stride;
- ctx->Array.Index.Ptr = (void *) ptr;
+ ctx->Array.Index.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.Index.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.SecondaryColor.Size = 3; /* hardwire */
ctx->Array.SecondaryColor.Type = type;
ctx->Array.SecondaryColor.Stride = stride;
- ctx->Array.SecondaryColor.Ptr = (void *) ptr;
+ ctx->Array.SecondaryColor.Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.SecondaryColor.BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.TexCoord[texUnit].Size = size;
ctx->Array.TexCoord[texUnit].Type = type;
ctx->Array.TexCoord[texUnit].Stride = stride;
- ctx->Array.TexCoord[texUnit].Ptr = (void *) ptr;
+ ctx->Array.TexCoord[texUnit].Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.TexCoord[texUnit].BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.VertexAttrib[index].Stride = stride;
ctx->Array.VertexAttrib[index].Size = size;
ctx->Array.VertexAttrib[index].Type = type;
- ctx->Array.VertexAttrib[index].Ptr = (void *) ptr;
+ ctx->Array.VertexAttrib[index].Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.VertexAttrib[index].BufferObj = ctx->Array.ArrayBufferObj;
#endif
ctx->Array.VertexAttrib[index].Size = size;
ctx->Array.VertexAttrib[index].Type = type;
ctx->Array.VertexAttrib[index].Normalized = normalized;
- ctx->Array.VertexAttrib[index].Ptr = (void *) ptr;
+ ctx->Array.VertexAttrib[index].Ptr = (GLubyte *) ptr;
#if FEATURE_ARB_vertex_buffer_object
ctx->Array.VertexAttrib[index].BufferObj = ctx->Array.ArrayBufferObj;
#endif