summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-09-03 16:18:23 +0100
committerEric Anholt <eric@anholt.net>2008-09-03 16:18:45 +0100
commit4a5e31138115f435be7f8f5999b1b2329a18d669 (patch)
treef8abe16916c4a43da19c0c49369c021dc91640fa
parentfd6a9ca5b59a868260eb91272091ea6169091737 (diff)
Fix broken test for DRI1 in DRI2 conversion.
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 04f26464..665d7812 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3296,7 +3296,7 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
pI830->directRenderingType = DRI_NONE;
/* If we failed for any reason, free DRI memory. */
- if (!pI830->directRenderingType != DRI_XF86DRI &&
+ if (pI830->directRenderingType != DRI_XF86DRI &&
pI830->back_buffer != NULL)
i830_free_3d_memory(pScrn);