summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-02-27 13:56:51 -0800
committerEric Anholt <[email protected]>2013-04-19 10:13:00 -0700
commit8b2662e900914f817615dbf8940853cec324290d (patch)
treed3271010673a4b9811a7c88926c2acc2106f92bf /src/mapi
parent1a3ea852ea659f22cb016b02bf2375817874266a (diff)
glapi: Add counter information for glBufferData(), like glBufferSubData().
This causes this function to become asynchronous with glthread.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/gl_API.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index b59d90bee97..f7257978f21 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -7656,8 +7656,8 @@
<function name="BufferDataARB" alias="BufferData">
<param name="target" type="GLenum"/>
- <param name="size" type="GLsizeiptrARB"/>
- <param name="data" type="const GLvoid *"/>
+ <param name="size" type="GLsizeiptrARB" counter="true"/>
+ <param name="data" type="const GLvoid *" count="size"/>
<param name="usage" type="GLenum"/>
</function>