summaryrefslogtreecommitdiff
path: root/src/mesa/main/getstring.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-20 10:02:15 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-20 10:02:15 +0800
commit5e8240320ac39a3e8984054bc300743725312741 (patch)
treefa9575a5d33bbb524c549558e2dcf9bae9aca9eb /src/mesa/main/getstring.c
parent1658f80153b84d7d7f0bebeaaf89f9850f782923 (diff)
parentd8299af4ab6fe4b334292e3b6e69e4331c05d86f (diff)
Merge remote branch 'origin/opengl-es-v2'
Diffstat (limited to 'src/mesa/main/getstring.c')
-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 e76a790d0a..c203b046a5 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -191,6 +191,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;