diff options
author | Chia-I Wu <[email protected]> | 2009-09-07 14:46:22 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-05 20:04:10 -0700 |
commit | c3d61d378574878deedb44d84f506ca23e66c6ca (patch) | |
tree | 2b4dec6af8e0e7cc0d59d418d228bb1856c4530f /src/mesa/main/getstring.c | |
parent | 6678f597e7c9ba784c9af0c86cfc6821558bcaa7 (diff) |
mesa/main: Add support for point size array in _mesa_GetPointerv.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mesa/main/getstring.c')
-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 6599ed9698d..4b1f4b0ea11 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; |