Module: Mesa
Branch: master
Commit: 2a305fee1bcf0259e2f1ba17bc890068226ead73
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a305fee1bcf0259e2f1ba17bc890068226ead73

Author: Timothy Arceri <[email protected]>
Date:   Thu May  4 14:23:16 2017 +1000

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 <[email protected]>

---

 src/mesa/state_tracker/st_cb_bufferobjects.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c 
b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 5911d1e160..c1994d5221 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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to