From: Jakob Bornecrantz Date: Thu, 25 Feb 2010 15:51:15 +0000 (+0100) Subject: st/xorg: Fix copy-topy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=122b472814d7694d997a55aac3d32340bf09218d;p=mesa.git st/xorg: Fix copy-topy --- diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c index 4f99e0001ba..aa8ab7901f7 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) {