summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-11-06 09:46:54 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-11-06 09:46:54 +0800
commit5cbf1e72711e906b5309694045b56933e14dca06 (patch)
treeafc575473067f6c49ea6023309fb8dd8cc30c330 /src/i965_render.c
parent78b6cff3b6ec9513ede3e71d81a828967e6c0068 (diff)
Make IS_GM45 into IS_G4X define
Those are identical that using one define is much clear. And it can also apply fixes for GM45 too, which is missing with origin define.
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index f773c1f7..9863697e 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -1143,7 +1143,7 @@ _emit_batch_header_for_composite_internal (ScrnInfoPtr pScrn, Bool check_twice)
BEGIN_BATCH(12);
/* Match Mesa driver setup */
- if (IS_GM45(pI830) || IS_G4X(pI830))
+ if (IS_G4X(pI830))
OUT_BATCH(NEW_PIPELINE_SELECT | PIPELINE_SELECT_3D);
else
OUT_BATCH(BRW_PIPELINE_SELECT | PIPELINE_SELECT_3D);