summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-03 12:01:27 +1000
committerDave Airlie <airlied@redhat.com>2009-09-03 12:01:27 +1000
commite5b93e116180d7ae360af1fd3e7b05f14ebce656 (patch)
treea2398187fbd9051f2669e1c17acfc0bbb672413e
parentea26f28c8fd68593a1f47053e04e9d6e110a23b9 (diff)
radeon/dri2: add gl20 bits for r300/r600 just like dri1 does
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c2
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 daee3b85d9..5ffb55db5e 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)) {