diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-09-07 14:46:22 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2009-09-12 20:56:01 +0800 |
commit | 3c417b27a259533aa7a4fcb886c42a3f50d38184 (patch) | |
tree | 755ed2488bb5f55ee6efd42274e6839f2e03e758 | |
parent | 9ac1d3e36f927687baf7467f1b71a5ff7b84d868 (diff) |
mesa/main: Add point size array.
-rw-r--r-- | src/mesa/main/getstring.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c index 6599ed9698..4b1f4b0ea1 100644 --- a/src/mesa/main/getstring.c +++ b/src/mesa/main/getstring.c @@ -242,6 +242,11 @@ _mesa_GetPointerv( GLenum pname, GLvoid **params ) case GL_SELECTION_BUFFER_POINTER: *params = ctx->Select.Buffer; break; +#if FEATURE_point_size_array + case GL_POINT_SIZE_ARRAY_POINTER_OES: + *params = (GLvoid *) ctx->Array.ArrayObj->PointSize.Ptr; + break; +#endif default: _mesa_error( ctx, GL_INVALID_ENUM, "glGetPointerv" ); return; |