st/xorg: Fix copy-topy
authorJakob Bornecrantz <jakob@vmware.com>
Thu, 25 Feb 2010 15:51:15 +0000 (16:51 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Sat, 27 Feb 2010 02:12:48 +0000 (02:12 +0000)
src/gallium/state_trackers/xorg/xorg_driver.c

index 4f99e0001baa981550db649a0a402817a68ef752..aa8ab7901f723ba3276ef259fb48fdf11524d418 100644 (file)
@@ -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) {