diff options
author | Dave Airlie <airliedfreedesktop.org> | 2006-04-04 11:04:30 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2006-04-04 11:04:30 +0000 |
commit | 6a9f0a27c3853738e4bbfb33e8b20464a7d92923 (patch) | |
tree | e531720019e0352c8c0601eb668d5a17ab87d869 /src/mesa/drivers/dri/r200 | |
parent | 7473d172682a229d2463d0a9ae2ae638453bc6e3 (diff) |
switch to card_type rather than IsPCI, doesn't change any functionality yet
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index e4d9e264bf..210feddb6a 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -107,7 +107,7 @@ static const GLubyte *r200GetString( GLcontext *ctx, GLenum name ) r200ContextPtr rmesa = R200_CONTEXT(ctx); static char buffer[128]; unsigned offset; - GLuint agp_mode = rmesa->r200Screen->IsPCI ? 0 : + GLuint agp_mode = (rmesa->r200Screen->card_type == RADEON_CARD_PCI)? 0 : rmesa->r200Screen->AGPMode; switch ( name ) { |