From 5cbf1e72711e906b5309694045b56933e14dca06 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Thu, 6 Nov 2008 09:46:54 +0800 Subject: 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. --- src/i965_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i965_video.c') 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); -- cgit v1.2.3