From 787dadbeeaa26069799c7b0c8b17a4ce44f7e808 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Dec 2013 09:06:17 -0700 Subject: [PATCH] st/mesa: plug in default buffer object driver functions In particular, this plugs in the new ClearBufferSubData() fallback driver function. --- src/mesa/state_tracker/st_cb_bufferobjects.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 7fa4cbdc491..230ab544947 100644 --- 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; -- 2.30.2