diff options
author | Michel Dänzer <daenzer@vmware.com> | 2009-05-14 10:24:07 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2009-05-14 10:24:07 +0200 |
commit | 22e39392297fa11003df90c175db3c449d8f9853 (patch) | |
tree | 4c3636ced2140236286970d2b68e60ce8f3c49f3 /src/radeon_exa_funcs.c | |
parent | fa09b058c7a17689989e600ffd465856a058579d (diff) |
Pre-R600 EXA: Fix coordinate limits off-by-one error.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21598 .
Diffstat (limited to 'src/radeon_exa_funcs.c')
-rw-r--r-- | src/radeon_exa_funcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c index 6a2b25cf..be24668c 100644 --- a/src/radeon_exa_funcs.c +++ b/src/radeon_exa_funcs.c @@ -529,11 +529,11 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr pScreen) xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Setting EXA maxPitchBytes\n"); info->accel_state->exa->maxPitchBytes = 16320; - info->accel_state->exa->maxX = 8192; + info->accel_state->exa->maxX = 8191; #else info->accel_state->exa->maxX = 16320 / 4; #endif - info->accel_state->exa->maxY = 8192; + info->accel_state->exa->maxY = 8191; if (xf86ReturnOptValBool(info->Options, OPTION_EXA_VSYNC, FALSE)) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, "EXA VSync enabled\n"); |