summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:55:30 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-05-23 16:55:30 +0200
commit7fbb61eedd4b07f07007a172cea227d5c363b908 (patch)
treee89d60992bec3ebdf8d65145df01a46cfecebc9c /src/gallium/winsys
parent5bf6ffb0b2be34ffb000e9700861b177afa9df97 (diff)
i915: Revert accidental change
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/dri/intel/intel_winsys_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
index 62b43cc395..6a42c79033 100644
--- a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
+++ b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
@@ -120,7 +120,7 @@ intel_buffer_create(struct pipe_winsys *winsys,
buffer->base.size = size;
if (usage & (PIPE_BUFFER_USAGE_VERTEX | PIPE_BUFFER_USAGE_CONSTANT)) {
- flags |= DRM_BO_FLAG_MEM_LOCAL;
+ flags |= DRM_BO_FLAG_MEM_LOCAL | DRM_BO_FLAG_CACHED;
pool = iws->mallocPool;
} else if (usage & PIPE_BUFFER_USAGE_CUSTOM) {
/* For vertex buffers */