Browse Source

st/xorg: Fix warning and add a TODO comment

tags/mesa-7.7-1
Jakob Bornecrantz 16 years ago
parent
commit
5169775345
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/gallium/state_trackers/xorg/xorg_driver.c

+ 6
- 0
src/gallium/state_trackers/xorg/xorg_driver.c 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;


Loading…
Cancel
Save