From: Dave Airlie Date: Thu, 3 Sep 2009 02:01:27 +0000 (+1000) Subject: radeon/dri2: add gl20 bits for r300/r600 just like dri1 does X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e5b93e116180d7ae360af1fd3e7b05f14ebce656;p=mesa.git radeon/dri2: add gl20 bits for r300/r600 just like dri1 does --- 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)) {