Mesa (mesa_7_7_branch): st/xorg: Fix copy-topy

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Feb 25 09:22:13 PST 2010


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

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Thu Feb 25 16:51:15 2010 +0100

st/xorg: Fix copy-topy

---

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

diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c
index 4f99e00..aa8ab79 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -955,7 +955,7 @@ drv_destroy_front_buffer_ga3d(ScrnInfoPtr pScrn)
 {
     modesettingPtr ms = modesettingPTR(pScrn);
 
-    if (!ms->root_bo)
+    if (!ms->root_texture)
 	return TRUE;
 
     if (ms->fb_id != -1) {



More information about the mesa-commit mailing list