i915: Revert accidental change

This commit is contained in:
Jakob Bornecrantz 2008-05-23 16:55:30 +02:00
parent 5bf6ffb0b2
commit 7fbb61eedd
1 changed files with 1 additions and 1 deletions

View File

@ -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 */