diff options
author | Brian Paul <[email protected]> | 2008-06-25 08:45:14 -0600 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-09-21 22:13:56 -0700 |
commit | 1cf2c8a04313b80a01ef23b06993586ce62281a4 (patch) | |
tree | a3ad06397a2a694e0c7fc3ff185b49554dfe9abf /src/mesa/main/arrayobj.c | |
parent | f8e50dd796a72c396bb22d414feba75c426c5e7e (diff) |
mesa: point size arrays
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r-- | src/mesa/main/arrayobj.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index b50e9d1d56a..14612393176 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -164,6 +164,15 @@ _mesa_initialize_array_object( GLcontext *ctx, obj->VertexAttrib[i].Normalized = GL_FALSE; } +#if FEATURE_point_size_array + obj->PointSize.Type = GL_FLOAT; + obj->PointSize.Stride = 0; + obj->PointSize.StrideB = 0; + obj->PointSize.Ptr = NULL; + obj->PointSize.Enabled = GL_FALSE; + obj->PointSize.BufferObj = ctx->Array.NullBufferObj; +#endif + #if FEATURE_ARB_vertex_buffer_object /* Vertex array buffers */ obj->Vertex.BufferObj = ctx->Array.NullBufferObj; |