summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/common_misc.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-02-06 19:57:55 +1000
committerDave Airlie <airlied@redhat.com>2009-02-06 20:04:42 +1000
commit36d3f3e74a809ad346e981805a2f61710d3a380b (patch)
treead9706a3cc26c0cb22c48c710771b78807386c23 /src/mesa/drivers/dri/radeon/common_misc.c
parent16f4b10170da7f1cae3561cdd2a0b2e3d86cf8de (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.c6
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);