summaryrefslogtreecommitdiff
path: root/src/radeon_dri.c
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-01-26 17:39:56 +0000
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-01-26 17:39:56 +0000
commite0df1e41724cd009fe7c833d2f9555f5d87e3202 (patch)
treeefd8c72bb4e81d6f41d87f70c8e2fbe137e63e95 /src/radeon_dri.c
parentaeb01807263c47f49abaf00031d8505e8ebda82c (diff)
fix issues with mergedfb + pageflip (fix up sarea frame values)
Diffstat (limited to 'src/radeon_dri.c')
-rw-r--r--src/radeon_dri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_dri.c b/src/radeon_dri.c
index 22062ec..450895b 100644
--- a/src/radeon_dri.c
+++ b/src/radeon_dri.c
@@ -1328,6 +1328,9 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
< RADEON_MAX_DRAWABLES
? SAREA_MAX_DRAWABLES
: RADEON_MAX_DRAWABLES);
+ /* kill DRIAdjustFrame. We adjust sarea frame info ourselves to work
+ correctly with pageflip + mergedfb/color tiling */
+ pDRIInfo->wrap.AdjustFrame = NULL;
#ifdef PER_CONTEXT_SAREA
/* This is only here for testing per-context SAREAs. When used, the