diff options
Diffstat (limited to 'src/intel_dri.c')
-rw-r--r-- | src/intel_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index 1fafd5e3..4b5567e1 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -227,7 +227,7 @@ I830DRI2CreateBuffers(DrawablePtr drawable, unsigned int *attachments, if (pixmap == NULL) { unsigned int hint = INTEL_CREATE_PIXMAP_DRI2; - if (intel->tiling) { + if (intel->tiling & INTEL_TILING_3D) { switch (attachments[i]) { case DRI2BufferDepth: if (SUPPORTS_YTILING(intel)) @@ -318,7 +318,7 @@ I830DRI2CreateBuffer(DrawablePtr drawable, unsigned int attachment, if (pixmap == NULL) { unsigned int hint = INTEL_CREATE_PIXMAP_DRI2; - if (intel->tiling) { + if (intel->tiling & INTEL_TILING_3D) { switch (attachment) { case DRI2BufferDepth: case DRI2BufferDepthStencil: |