summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-03-06 19:32:29 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-03-06 19:32:29 +0800
commit502e41f6dff91393cfeaf08c9ba312781d1b7267 (patch)
treec23398067bd481d73b4b4f1396567f0cdb7196f6
parentea58d66cf778c0477c30e5bfe3142b64e8b971d5 (diff)
remove extra dri checking
And directRenderingDisabled already has config check result.
-rw-r--r--src/i830_driver.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 2ba69b62..854e3775 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2663,11 +2663,6 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
}
#ifdef XF86DRI
- /* Check for appropriate bpp and module support to initialize DRI. */
- if (!I830CheckDRIAvailable(pScrn)) {
- pI830->directRenderingDisabled = TRUE;
- }
-
/* If DRI hasn't been explicitly disabled, try to initialize it.
* It will be used by the memory allocator.
*/