diff options
Diffstat (limited to 'glx/glxdri.c')
-rw-r--r-- | glx/glxdri.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/glx/glxdri.c b/glx/glxdri.c index aa763deed..c33b5bd9b 100644 --- a/glx/glxdri.c +++ b/glx/glxdri.c @@ -871,6 +871,15 @@ initializeExtensions(__GLXDRIscreen *screen) extensions = screen->core->getExtensions(screen->driScreen); for (i = 0; extensions[i]; i++) { +#ifdef __DRI_READ_DRAWABLE + if (strcmp(extensions[i]->name, __DRI_READ_DRAWABLE) == 0) { + __glXEnableExtension(screen->glx_enable_bits, + "GLX_SGI_make_current_read"); + + LogMessage(X_INFO, "AIGLX: enabled GLX_SGI_make_current_read\n"); + } +#endif + #ifdef __DRI_COPY_SUB_BUFFER if (strcmp(extensions[i]->name, __DRI_COPY_SUB_BUFFER) == 0) { screen->copySubBuffer = (__DRIcopySubBufferExtension *) extensions[i]; |