st/mesa: stop calling _mesa_init_buffer_object_functions()
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 4 May 2017 04:23:16 +0000 (14:23 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 7 May 2017 05:29:33 +0000 (15:29 +1000)
After calling this we were then overriding all the functions with
st versions.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/state_tracker/st_cb_bufferobjects.c

index 5911d1e..c1994d5 100644 (file)
@@ -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;