Module: Mesa
Branch: master
Commit: b6c65516865aa331b066a6516d553c9fca314670
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6c65516865aa331b066a6516d553c9fca314670

Author: Jakob Bornecrantz <[email protected]>
Date:   Thu Aug  6 00:01:18 2009 +0100

st/xorg: If we have DRI2 we should also have some sort of hw support

---

 src/gallium/state_trackers/xorg/xorg_dri2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c 
b/src/gallium/state_trackers/xorg/xorg_dri2.c
index 49a63de..301e521 100644
--- a/src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/src/gallium/state_trackers/xorg/xorg_dri2.c
@@ -178,7 +178,7 @@ driCopyRegion(DrawablePtr pDraw, RegionPtr pRegion,
        ms->screen->get_tex_surface(ms->screen, src_priv->tex, 0, 0, 0,
                                    PIPE_BUFFER_USAGE_GPU_READ);
 
-#if 0
+#if 1
     ms->ctx->surface_copy(ms->ctx, dst_surf, 0, 0, src_surf,
                          0, 0, pDraw->width, pDraw->height);
 #else

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to