st/xorg: Fix warning and add a TODO comment
This commit is contained in:
parent
d34fdf149d
commit
5169775345
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue