summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-07 14:46:22 +0800
committerChia-I Wu <olvaffe@gmail.com>2009-09-12 20:56:01 +0800
commit3c417b27a259533aa7a4fcb886c42a3f50d38184 (patch)
tree755ed2488bb5f55ee6efd42274e6839f2e03e758 /src
parent9ac1d3e36f927687baf7467f1b71a5ff7b84d868 (diff)
mesa/main: Add point size array.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/getstring.c5
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;