projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7bc0c
)
st/mesa: plug in default buffer object driver functions
author
Brian Paul
<brianp@vmware.com>
Mon, 16 Dec 2013 16:06:17 +0000
(09:06 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 18 Dec 2013 16:06:51 +0000
(09:06 -0700)
In particular, this plugs in the new ClearBufferSubData() fallback
driver function.
src/mesa/state_tracker/st_cb_bufferobjects.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_bufferobjects.c
b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 7fa4cbdc4910a9d2334c9ac3d130f4945093cb3d..230ab5449470c80a3604ad682dc7ee5fbc0906cc 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_bufferobjects.c
+++ b/
src/mesa/state_tracker/st_cb_bufferobjects.c
@@
-422,6
+422,9
@@
st_bufferobj_validate_usage(struct st_context *st,
void
st_init_bufferobject_functions(struct dd_function_table *functions)
{
+ /* plug in default driver fallbacks (such as for ClearBufferSubData) */
+ _mesa_init_buffer_object_functions(functions);
+
functions->NewBufferObject = st_bufferobj_alloc;
functions->DeleteBuffer = st_bufferobj_free;
functions->BufferData = st_bufferobj_data;