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

Author: Jakob Bornecrantz <[email protected]>
Date:   Wed Dec 30 05:08:09 2009 +0100

st/xorg: Fix warning and add a TODO comment

---

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

diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c 
b/src/gallium/state_trackers/xorg/xorg_driver.c
index ccaa0c6..4d169a1 100644
--- a/src/gallium/state_trackers/xorg/xorg_driver.c
+++ b/src/gallium/state_trackers/xorg/xorg_driver.c
@@ -931,6 +931,12 @@ drv_destroy_front_buffer_kms(ScrnInfoPtr pScrn)
     ScreenPtr pScreen = pScrn->pScreen;
     PixmapPtr rootPixmap = pScreen->GetScreenPixmap(pScreen);
 
+    /* XXX Do something with the rootPixmap.
+     * This currently works fine but if we are getting crashes in
+     * the fb functions after VT switches maybe look more into it.
+     */
+    (void)rootPixmap;
+
     if (!ms->root_bo)
        return TRUE;
 

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

Reply via email to