summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-06-13 13:34:26 -0700
committerEric Anholt <eric@anholt.net>2007-06-13 13:34:26 -0700
commit420e41e7921d3cc07c784fd17936ec8a675f3b20 (patch)
tree27fe5a37b67c0b55e183c53597230272739b5405 /src/i830_dri.c
parent51612e5ac3ddfb2bb172c58f2dfff9631093b69c (diff)
Revert "Replace failure-prone configure test for fresh libdrm with a simple ifndef."
This reverts commit c2b130354aecffbeb2a2d23c7371461feaf5766a. Sadly, a non-working DRM_IOCTL_I915_FLIP already existed.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 6ec56cf9..ca1190cf 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -83,8 +83,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "i915_drm.h"
-/* This block can be removed when libdrm >= 2.3.1 is required. */
-#ifndef DRM_IOCTL_I915_FLIP
+/* This block and the corresponding configure test can be removed when
+ * libdrm >= 2.3.1 is required.
+ */
+#ifndef HAVE_I915_FLIP
#define DRM_VBLANK_FLIP 0x8000000