summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2006-04-11 16:44:42 -0700
committerEric Anholt <anholt@leguin.anholt.net>2006-04-11 16:44:42 -0700
commita797a6626a8117cd16456a206ed96300e4a0ceeb (patch)
treee34c6b1b1d6fa4c2887dd899356cd44902b1ccce
parent66d216da3bfe7c143d681b610130e6daf6dfa52f (diff)
Fix a broken test that resulted in page flipping always being enabled, not just
when the user enabled it.
-rw-r--r--src/i810_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index 06615389..7d854df2 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -1093,7 +1093,7 @@ I810PreInit(ScrnInfoPtr pScrn, int flags)
#ifdef XF86DRI
if (!pI810->directRenderingDisabled) {
pI810->allowPageFlip = enable;
- if (pI810->allowPageFlip == enable)
+ if (pI810->allowPageFlip == TRUE)
{
if (!xf86LoadSubModule(pScrn, "shadowfb")) {
pI810->allowPageFlip = 0;