src/i810_driver.c

Eric Anholt anholt at kemper.freedesktop.org
Wed Apr 12 02:53:12 EEST 2006


 src/i810_driver.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree a797a6626a8117cd16456a206ed96300e4a0ceeb (from 66d216da3bfe7c143d681b610130e6daf6dfa52f)
Author: Wang Zhenyu <zhenyu.z.wang at intel.com>
Date:   Tue Apr 11 16:44:42 2006 -0700

    Fix a broken test that resulted in page flipping always being enabled, not just
    when the user enabled it.

diff --git a/src/i810_driver.c b/src/i810_driver.c
index 0661538..7d854df 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;



More information about the xorg-commit mailing list