aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-01-13 15:20:19 -0800
committerLaura Ekstrand <[email protected]>2015-03-17 10:18:33 -0700
commit9fa6c3637a53603bc92db8a97b71cf35d88e5176 (patch)
tree57f2fc9df95056a08d9468fe8884bd11ff721af0 /src/mesa/state_tracker
parent4adaad5fcc7fc959f24f807e783b6be2903e08a3 (diff)
main: Refactor ClearBuffer[Sub]Data.
v2: review by Jason Ekstrand - Split refactor of clear buffer sub data from addition of DSA entry points. Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c
index 1dbc4b90585..db254c2144e 100644
--- a/src/mesa/state_tracker/st_cb_bufferobjects.c
+++ b/src/mesa/state_tracker/st_cb_bufferobjects.c
@@ -485,8 +485,8 @@ st_clear_buffer_subdata(struct gl_context *ctx,
static const char zeros[16] = {0};
if (!pipe->clear_buffer) {
- _mesa_buffer_clear_subdata(ctx, offset, size,
- clearValue, clearValueSize, bufObj);
+ _mesa_ClearBufferSubData_sw(ctx, offset, size,
+ clearValue, clearValueSize, bufObj);
return;
}