summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_curbe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_curbe.c b/src/mesa/drivers/dri/i965/brw_curbe.c
index 03371564e13..18b187ed1dc 100644
--- a/src/mesa/drivers/dri/i965/brw_curbe.c
+++ b/src/mesa/drivers/dri/i965/brw_curbe.c
@@ -353,10 +353,10 @@ update_constant_buffer(struct brw_context *brw,
assert(const_buffer);
assert(const_buffer->size >= size);
- drm_intel_gem_bo_map_gtt(const_buffer);
+ dri_bo_map(const_buffer, GL_TRUE);
map = const_buffer->virtual;
memcpy(map, params->ParameterValues, size);
- drm_intel_gem_bo_unmap_gtt(const_buffer);
+ dri_bo_unmap(const_buffer);
if (0) {
int i;