summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-12-27 18:58:40 -0800
committerEric Anholt <eric@anholt.net>2006-12-27 18:59:13 -0800
commit6dc3387219b2b31e0c7dbaa88b568fbd54d72878 (patch)
tree9bace52bea317b1739d70abaf215645d991651e4
parent210f30bd75529d0064bc46af15464a2a47f9d4c6 (diff)
Fix operator precedence issue that stuck 965 t-v state into the front buffer.
-rw-r--r--src/i830_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index a0ab932c..0ffa1894 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -2273,7 +2273,7 @@ I830PutImage(ScrnInfoPtr pScrn,
return BadAlloc;
pPriv->extra_offset = pPriv->linear.offset +
- pPriv->doubleBuffer ? size * 2 : size;
+ (pPriv->doubleBuffer ? size * 2 : size);
/* fixup pointers */
pPriv->YBuf0offset = pPriv->linear.offset;