summaryrefslogtreecommitdiff
path: root/src/i965_video.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_video.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_video.c')
-rw-r--r--src/i965_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index 78f69ee5..37eebb33 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -584,7 +584,7 @@ I965DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id,
{
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);