aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.h
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-10-28 15:31:02 +0100
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-11-05 13:58:28 +0100
commit2b44ca779b6532302b73398cc01b9daabef215a4 (patch)
tree6c5fe2a8e0ea4b693d0a7eb3b42a49dca75fde90 /src/mesa/main/get.h
parent5adeff80339e00b8cfe3d8df4d403fb48c569aa3 (diff)
mesa: extract helper function from _mesa_GetPointerv
Will be used by EXT_dsa gllGetVertexArrayPointervEXT implementation. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/get.h')
-rw-r--r--src/mesa/main/get.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/get.h b/src/mesa/main/get.h
index 898fb49cdb3..de9b2a27e72 100644
--- a/src/mesa/main/get.h
+++ b/src/mesa/main/get.h
@@ -93,4 +93,10 @@ _mesa_GetError( void );
extern GLenum GLAPIENTRY
_mesa_GetGraphicsResetStatusARB( void );
+struct gl_vertex_array_object;
+
+extern void
+_get_vao_pointerv(GLenum pname, struct gl_vertex_array_object* vao,
+ GLvoid **params, const char* callerstr);
+
#endif