diff options
Diffstat (limited to 'linux/radeon_state.c')
-rw-r--r-- | linux/radeon_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |