diff options
-rw-r--r-- | src/i830_batchbuffer.c | 2 | ||||
-rw-r--r-- | src/i830_dri.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_batchbuffer.c b/src/i830_batchbuffer.c index 3727f0ea..6e71b507 100644 --- a/src/i830_batchbuffer.c +++ b/src/i830_batchbuffer.c @@ -124,7 +124,7 @@ intel_batch_init(ScrnInfoPtr pScrn) intel_next_batch(pScrn); - if (!pI830->directRenderingEnabled) { + if (!pI830->directRenderingType <= DRI_NONE) { if (IS_I830(pI830) || IS_845G(pI830)) { intel_bufmgr_fake_set_exec_callback(pI830->bufmgr, intel_nondrm_exec_i830, diff --git a/src/i830_dri.c b/src/i830_dri.c index 4bfe2867..da1588ca 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -1877,7 +1877,7 @@ I830DRI2CreateBuffers(DrawablePtr pDraw, unsigned int *attachments, int count) privates[i].pPixmap = pPixmap; bo = i830_get_pixmap_bo (pPixmap); - if (intel_bo_flink(bo, &buffers[i].name) != 0) { + if (dri_bo_flink(bo, &buffers[i].name) != 0) { /* failed to name buffer */ } |