Synch with xorg 1.13 change.

As xorg 1.13 change the scrn interaces and remove those
global arrays. Some API change cause we can't build. Now
fix it.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
Zhigang Gong 2012-07-16 11:25:09 +08:00 • committed by Eric Anholt
commit bc1b412b3b
5 changed files with 23 additions and 10 deletions

View file

@ -491,7 +491,7 @@ glamor_set_pixmap_private(PixmapPtr pixmap, glamor_pixmap_private *priv)
}
Bool
glamor_close_screen(int idx, ScreenPtr screen)
glamor_close_screen(CLOSE_SCREEN_ARGS_DECL)
{
glamor_screen_private *glamor_priv;
PixmapPtr screen_pixmap;
@ -533,7 +533,7 @@ glamor_close_screen(int idx, ScreenPtr screen)
glamor_release_screen_priv(screen);
return screen->CloseScreen(idx, screen);
return screen->CloseScreen(CLOSE_SCREEN_ARGS);
}