From 2b64886c8122227ffa2d86abb9b4a5d79d1e2451 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 11 Mar 2011 14:49:28 -0500 Subject: swrastg: Add __DRI_TEX_BUFFER support Without this, EXT_texture_from_pixmap is trivially broken. With it, it's merely subtly broken. Signed-off-by: Adam Jackson --- src/gallium/state_trackers/dri/sw/drisw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c index 30088b0968..0efa5ffdc6 100644 --- a/src/gallium/state_trackers/dri/sw/drisw.c +++ b/src/gallium/state_trackers/dri/sw/drisw.c @@ -233,6 +233,7 @@ drisw_allocate_textures(struct dri_drawable *drawable, */ static const __DRIextension *drisw_screen_extensions[] = { + &driTexBufferExtension.base, NULL }; -- cgit v1.2.3