summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-12-30 05:08:09 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-12-30 05:08:41 +0100
commit5169775345fc6b17b1f984e8bc3b5c3708733a7f (patch)
treeab454f171d6374dfaed460e279629481bd306bca /src/gallium/state_trackers
parentd34fdf149d250275e819ca58554a41a8bff82785 (diff)
st/xorg: Fix warning and add a TODO comment
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_driver.c6
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 ccaa0c68ef..4d169a1d14 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;