i915: Revert accidental change
This commit is contained in:
parent
5bf6ffb0b2
commit
7fbb61eedd
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue