From 2a305fee1bcf0259e2f1ba17bc890068226ead73 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 4 May 2017 14:23:16 +1000 Subject: st/mesa: stop calling _mesa_init_buffer_object_functions() After calling this we were then overriding all the functions with st versions. Reviewed-by: Eric Anholt --- src/mesa/state_tracker/st_cb_bufferobjects.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 5911d1e1604..c1994d5221a 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -583,9 +583,6 @@ void st_init_bufferobject_functions(struct pipe_screen *screen, 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; -- cgit v1.2.3