diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-06 19:57:55 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-06 20:04:42 +1000 |
commit | 36d3f3e74a809ad346e981805a2f61710d3a380b (patch) | |
tree | ad9706a3cc26c0cb22c48c710771b78807386c23 /src/mesa/drivers/dri/radeon/common_misc.c | |
parent | 16f4b10170da7f1cae3561cdd2a0b2e3d86cf8de (diff) |
r100: fixup radeon so gears seems to work
Diffstat (limited to 'src/mesa/drivers/dri/radeon/common_misc.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_misc.c b/src/mesa/drivers/dri/radeon/common_misc.c index ec53007122..fbabed19f1 100644 --- a/src/mesa/drivers/dri/radeon/common_misc.c +++ b/src/mesa/drivers/dri/radeon/common_misc.c @@ -752,12 +752,12 @@ static const GLubyte *radeonGetString(GLcontext * ctx, GLenum name) radeon->radeonScreen->AGPMode; const char* chipname; - - if (IS_R300_CLASS(radeon->radeonScreen)) chipname = "R300"; - else + else if (IS_R200_CLASS(radeon->radeonScreen)) chipname = "R200"; + else + chipname = "R100"; offset = driGetRendererString(buffer, chipname, DRIVER_DATE, agp_mode); |