st/xorg: Fix warning and add a TODO comment

This commit is contained in:
Jakob Bornecrantz 2009-12-30 05:08:09 +01:00
parent d34fdf149d
commit 5169775345
1 changed files with 6 additions and 0 deletions

View 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;