OSDN Git Service

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 ccaa0c6..4d169a1 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;