Set pfCurrentPage on cleanup_pageflip

main
Keith Whitwell 2002-06-27 17:56:39 +00:00
parent 8aecdbea76
commit bb91bc0879
1 changed files with 2 additions and 0 deletions

View File

@ -1090,6 +1090,7 @@ static int radeon_do_init_pageflip( drm_device_t *dev )
dev_priv->page_flipping = 1;
dev_priv->current_page = 0;
dev_priv->sarea_priv->pfCurrentPage = dev_priv->current_page;
return 0;
}
@ -1104,6 +1105,7 @@ int radeon_do_cleanup_pageflip( drm_device_t *dev )
dev_priv->page_flipping = 0;
dev_priv->current_page = 0;
dev_priv->sarea_priv->pfCurrentPage = dev_priv->current_page;
return 0;
}