OSDN Git Service

r300: Also update window state when it's already bound but its stamp changed.
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 9 Mar 2007 08:43:17 +0000 (09:43 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 9 Mar 2007 08:43:17 +0000 (09:43 +0100)
commit4d9901a1cab8e0d55b1b2309cf3ffec235e53149
tree6df8d8669b38a619d3ac02b10891c67a68f8ef64
parentd85667950f6797f63fa0863e6882390c2adaaf2b
r300: Also update window state when it's already bound but its stamp changed.

And set new cliprects before deriving other state from them. This ensures
cliprects aren't accessed after having been freed.

Thanks to Panagiotis Papadakos for testing various iterations of this.
src/mesa/drivers/dri/r300/radeon_context.c