diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-19 22:40:22 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-19 22:45:51 -0400 |
commit | a7292f2920a28a190ca39ce530454a852ec36d59 (patch) | |
tree | 9cb4408b74319169602e4e151aa1eec55d26aaf4 /src/glx/dri_common.c | |
parent | bab13969d8bf3ff9259524c3f4ab96d81485ccef (diff) |
glx: Move DRI CopySubBuffer extension to DRI1 code
We do this in the X server for DRI2.
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r-- | src/glx/dri_common.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 796654a65d0..eb9f1e4b397 100644 --- a/src/glx/dri_common.c +++ b/src/glx/dri_common.c @@ -346,29 +346,4 @@ driDestroyConfigs(const __DRIconfig **configs) free(configs); } -/* Bind extensions common to DRI1 and DRI2 */ -_X_HIDDEN void -driBindCommonExtensions(__GLXscreenConfigs *psc, - const __DRIextension **extensions) -{ - int i; - - for (i = 0; extensions[i]; i++) { -#ifdef __DRI_COPY_SUB_BUFFER - if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) { - psc->driCopySubBuffer = (__DRIcopySubBufferExtension *) extensions[i]; - __glXEnableDirectExtension(psc, "GLX_MESA_copy_sub_buffer"); - } -#endif - -#ifdef __DRI_READ_DRAWABLE - if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) { - __glXEnableDirectExtension(psc, "GLX_SGI_make_current_read"); - } -#endif - - /* Ignore unknown extensions */ - } -} - #endif /* GLX_DIRECT_RENDERING */ |