diff options
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdriswrast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index ac8bda869..f5c0c9f89 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -396,6 +396,7 @@ initializeExtensions(__GLXscreen * screen) __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_framebuffer_sRGB"); __glXEnableExtension(screen->glx_enable_bits, "GLX_ARB_fbconfig_float"); __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_fbconfig_packed_float"); + __glXEnableExtension(screen->glx_enable_bits, "GLX_EXT_texture_from_pixmap"); extensions = dri->core->getExtensions(dri->driScreen); @@ -407,8 +408,6 @@ initializeExtensions(__GLXscreen * screen) if (strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0) { dri->texBuffer = (const __DRItexBufferExtension *) extensions[i]; - __glXEnableExtension(screen->glx_enable_bits, - "GLX_EXT_texture_from_pixmap\n"); } #ifdef __DRI2_FLUSH_CONTROL |