summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;