diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-05-31 16:32:58 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-06-01 19:02:17 +0200 |
commit | c1ccc7d5394c23a371540e1b2c3d35b0da3b30d6 (patch) | |
tree | fa1c0b26357b8d405fc8c1089b3115f8fc4939f8 /src/mesa/drivers/dri/radeon/radeon_screen.c | |
parent | 5dcbcbfca4f3c00de1fdab28d1cc8d691f67edce (diff) |
radeon: Provide a more detailled GL_RENDERER string.
Display the chip family and PCI ID. This can be parsed easily,
and essentially all information that the driver has about the chip can be
deduced from it.
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 3ba11e848e..12ae4ada5d 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -400,6 +400,7 @@ static const __DRItexBufferExtension r300TexBufferExtension = { static int radeon_set_screen_flags(radeonScreenPtr screen, int device_id) { + screen->device_id = device_id; screen->chip_flags = 0; switch ( device_id ) { case PCI_CHIP_RADEON_LY: |