summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-11 14:49:28 -0500
committerAdam Jackson <ajax@redhat.com>2011-03-11 14:49:28 -0500
commit2b64886c8122227ffa2d86abb9b4a5d79d1e2451 (patch)
tree68a49fc3badea661e3dad5590628b1fc181b7d40
parentd7db14ab7d66520b6030c0aa48c94507179a8d4e (diff)
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 <ajax@redhat.com>
-rw-r--r--src/gallium/state_trackers/dri/sw/drisw.c1
1 files changed, 1 insertions, 0 deletions
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
};