OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac1d3e
)
mesa/main: Add point size array.
author
Chia-I Wu
<olvaffe@gmail.com>
Mon, 7 Sep 2009 06:46:22 +0000
(14:46 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Sat, 12 Sep 2009 12:56:01 +0000
(20:56 +0800)
src/mesa/main/getstring.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/getstring.c
b/src/mesa/main/getstring.c
index
6599ed9
..
4b1f4b0
100644
(file)
--- 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;