xf86-video-intel: src/i830_dri.c
Eric Anholt
anholt at kemper.freedesktop.org
Mon Mar 9 12:51:51 PDT 2009
src/i830_dri.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dc12c4b3eb297b2f225409eacf1f3cd521453ab6
Author: Eric Anholt <eric at anholt.net>
Date: Sat Mar 7 23:22:54 2009 -0800
Flip the update_dri_buffers test around to only run when DRI1 is active.
Fixes segfaults at startup with DRI2 and load detection, or with DRI disabled
entirely.
diff --git a/src/i830_dri.c b/src/i830_dri.c
index f61c564..6a32492 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -1448,7 +1448,7 @@ i830_update_dri_buffers(ScrnInfoPtr pScrn)
drmI830Sarea *sarea;
Bool success;
- if (pI830->directRenderingType == DRI_DRI2)
+ if (pI830->directRenderingType != DRI_XF86DRI)
return TRUE;
sarea = (drmI830Sarea *) DRIGetSAREAPrivate(pScreen);
More information about the xorg-commit
mailing list