summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2006-04-04 11:04:30 +0000
committerDave Airlie <airliedfreedesktop.org>2006-04-04 11:04:30 +0000
commit6a9f0a27c3853738e4bbfb33e8b20464a7d92923 (patch)
treee531720019e0352c8c0601eb668d5a17ab87d869 /src/mesa/drivers/dri/r300
parent7473d172682a229d2463d0a9ae2ae638453bc6e3 (diff)
switch to card_type rather than IsPCI, doesn't change any functionality yet
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r--src/mesa/drivers/dri/r300/radeon_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_context.c b/src/mesa/drivers/dri/r300/radeon_context.c
index 4e351dd66b..0147c6492e 100644
--- a/src/mesa/drivers/dri/r300/radeon_context.c
+++ b/src/mesa/drivers/dri/r300/radeon_context.c
@@ -76,7 +76,7 @@ static const GLubyte *radeonGetString(GLcontext * ctx, GLenum name)
case GL_RENDERER:
{
unsigned offset;
- GLuint agp_mode = radeon->radeonScreen->IsPCI ? 0 :
+ GLuint agp_mode = (radeon->radeonScreen->card_type==RADEON_CARD_PCI) ? 0 :
radeon->radeonScreen->AGPMode;
const char* chipname;