Mesa (mesa_7_7_branch): st/xorg: Fix warning and add a TODO comment
Jakob Bornecrantz
wallbraker at kemper.freedesktop.org
Wed Dec 30 04:09:36 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 5169775345fc6b17b1f984e8bc3b5c3708733a7f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5169775345fc6b17b1f984e8bc3b5c3708733a7f
Author: Jakob Bornecrantz <jakob at vmware.com>
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;
More information about the mesa-commit
mailing list