xf86-video-intel: configure.ac src/i830_batchbuffer.c

Dave Airlie airlied at kemper.freedesktop.org
Fri Jan 16 20:12:20 PST 2009


 configure.ac           |    2 +-
 src/i830_batchbuffer.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1459f794e2a4b9032807c3794b00a33fa6392837
Author: Dave Airlie <airlied at redhat.com>
Date:   Sat Jan 17 22:14:26 2009 +1000

    intel: fix DRI2 should be DRI_DRI2

diff --git a/configure.ac b/configure.ac
index 6c4ba57..877cc73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -209,7 +209,7 @@ if test "x$GCC" = "xyes"; then
 	-Wnested-externs -fno-strict-aliasing"
 fi
 
-PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.3])
+PKG_CHECK_MODULES(DRM, [libdrm >= 2.4.0])
 AM_CONDITIONAL(DRI, test x$DRI = xyes)
 if test "$DRI" = yes; then
         PKG_CHECK_MODULES(DRI, [xf86driproto glproto])
diff --git a/src/i830_batchbuffer.c b/src/i830_batchbuffer.c
index 220dda7..671e8c8 100644
--- a/src/i830_batchbuffer.c
+++ b/src/i830_batchbuffer.c
@@ -121,7 +121,7 @@ intel_next_batch(ScrnInfoPtr pScrn)
     /* If we are using DRI2, we don't know when another client has executed,
      * so we have to reinitialize our 3D state per batch.
      */
-    if (pI830->directRenderingType == DRI2)
+    if (pI830->directRenderingType == DRI_DRI2)
 	*pI830->last_3d = LAST_3D_OTHER;
 }
 


More information about the xorg-commit mailing list