aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2007-05-15 15:17:30 -0400
committerKristian Høgsberg <[email protected]>2007-10-10 18:57:57 -0400
commitac3e838fa748c8c8a6ffc04d1ab13da71f75f103 (patch)
tree3011280e28b9f15cf5d2a97abe588b46c4f9156c /src/mesa/drivers/dri/radeon
parentf616a263a25eda135800bea7d3a863c569b93e30 (diff)
Move the copySubBuffer extension over to the new mechanism.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_screen.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index b7e0b5a0fa3..7e533fef2cc 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -332,6 +332,10 @@ radeonFillInModes( unsigned pixel_bits, unsigned depth_bits,
return modes;
}
+static const __DRIextension *radeonExtensions[] = {
+ &driCopySubBufferExtension.base,
+ NULL
+};
/* Create the device specific screen private data struct.
*/
@@ -731,6 +735,8 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
dri_priv->log2GARTTexGran;
}
+ sPriv->extensions = radeonExtensions;
+
if ( glx_enable_extension != NULL ) {
if ( screen->irq != 0 ) {
(*glx_enable_extension)( sPriv->psc, "GLX_SGI_swap_control" );
@@ -742,7 +748,6 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
if (IS_R200_CLASS(screen))
(*glx_enable_extension)( sPriv->psc, "GLX_MESA_allocate_memory" );
- (*glx_enable_extension)( sPriv->psc, "GLX_MESA_copy_sub_buffer" );
(*glx_enable_extension)( sPriv->psc, "GLX_SGI_make_current_read" );
}