Don't pass x/y/width/height to ctx->Driver.Accum().
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Oct 2006 18:35:09 +0000 (18:35 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 18 Oct 2006 18:35:09 +0000 (18:35 +0000)
commitccb64bbb2a32761efa076ebafa7ccdaf2d412b0e
tree8106d379716805f2eca690bb3e4d5e8a04c00a23
parent4e4c0bbef7a795d73685794e3329ea81654924b5
Don't pass x/y/width/height to ctx->Driver.Accum().
Compute the region after we've locked (and possibly updated the buffer's size).
Same thing is needed for ctx->Driver.Clear().
src/mesa/main/accum.c
src/mesa/main/dd.h
src/mesa/swrast/s_accum.c
src/mesa/swrast/swrast.h