diff options
author | Dave Airlie <[email protected]> | 2009-09-03 12:01:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-09-03 12:01:27 +1000 |
commit | e5b93e116180d7ae360af1fd3e7b05f14ebce656 (patch) | |
tree | a2398187fbd9051f2669e1c17acfc0bbb672413e /src/mesa/drivers/dri/radeon/radeon_screen.c | |
parent | ea26f28c8fd68593a1f47053e04e9d6e110a23b9 (diff) |
radeon/dri2: add gl20 bits for r300/r600 just like dri1 does
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_screen.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index daee3b85d9c..5ffb55db5ef 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -1690,6 +1690,8 @@ __DRIconfig **radeonInitScreen2(__DRIscreenPrivate *psp) driInitSingleExtension( NULL, NV_vp_extension ); driInitSingleExtension( NULL, ATI_fs_extension ); driInitExtensions( NULL, point_extensions, GL_FALSE ); +#elif (defined(RADEON_COMMON_FOR_R300) || defined(RADEON_COMMON_FOR_R600)) + driInitSingleExtension( NULL, gl_20_extension ); #endif if (!radeonInitDriver(psp)) { |