Commit 42878790 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

present/wnmd: Remove no-op present_wnmd_flip_destroy


Reviewed-by: Roman Gilg's avatarRoman Gilg <subdiff@gmail.com>
parent 59c40b0e
......@@ -64,7 +64,8 @@ present_close_screen(ScreenPtr screen)
{
present_screen_priv_ptr screen_priv = present_screen_priv(screen);
screen_priv->flip_destroy(screen);
if (screen_priv->flip_destroy)
screen_priv->flip_destroy(screen);
unwrap(screen_priv, screen, CloseScreen);
(*screen->CloseScreen) (screen);
......
......@@ -674,12 +674,6 @@ present_wnmd_abort_vblank(ScreenPtr screen, WindowPtr window, RRCrtcPtr crtc, ui
}
}
static void
present_wnmd_flip_destroy(ScreenPtr screen)
{
/* Cleanup done on window destruction */
}
static void
present_wnmd_flush(WindowPtr window)
{
......@@ -705,5 +699,4 @@ present_wnmd_init_mode_hooks(present_screen_priv_ptr screen_priv)
screen_priv->re_execute = &present_wnmd_re_execute;
screen_priv->abort_vblank = &present_wnmd_abort_vblank;
screen_priv->flip_destroy = &present_wnmd_flip_destroy;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment