From bb91bc0879ccc1981c49fa761e9bd58bceb1e5cd Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 27 Jun 2002 17:56:39 +0000 Subject: Set pfCurrentPage on cleanup_pageflip --- linux/radeon_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/radeon_state.c b/linux/radeon_state.c index 08a8f8a8..ff2fd66d 100644 --- a/linux/radeon_state.c +++ b/linux/radeon_state.c @@ -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; } -- cgit v1.2.3