st/xorg: Fix warning and add a TODO comment
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 30 Dec 2009 04:08:09 +0000 (05:08 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Wed, 30 Dec 2009 04:08:41 +0000 (05:08 +0100)
src/gallium/state_trackers/xorg/xorg_driver.c

index ccaa0c68ef7d24940d33dd78bd767e3441c25d26..4d169a1d14caa285f020bb44d97f9bef71c24bc0 100644 (file)
@@ -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;