summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-05-04 14:23:16 +1000
committerTimothy Arceri <[email protected]>2017-05-07 15:29:33 +1000
commit2a305fee1bcf0259e2f1ba17bc890068226ead73 (patch)
tree89f09e568ec7847d4b457287ad64749e6e52f9fe
parent123b113f957af15eeedfdf959bc77dd363106aef (diff)
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]>
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.c3
1 files changed, 0 insertions, 3 deletions
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;