summaryrefslogtreecommitdiff
path: root/src/i830_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r--src/i830_memory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c
index f2f39660..cc9d376d 100644
--- a/src/i830_memory.c
+++ b/src/i830_memory.c
@@ -1581,6 +1581,9 @@ i830_bind_all_memory(ScrnInfoPtr pScrn)
i830_update_cursor_offsets(pScrn);
i830_set_max_gtt_map_size(pScrn);
+ if (pI830->front_buffer)
+ pScrn->fbOffset = pI830->front_buffer->offset;
+
return TRUE;
}