diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 13:22:35 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-03-06 13:22:35 +0100 |
commit | 6f9b1afc862851532e4820705c412388b497ad58 (patch) | |
tree | b5b173a5e3fcb9908bd3cea4be40c90ea45b1f79 /src/mesa/drivers/dri/r300/radeon_lock.c | |
parent | 1c70cde8881f794782780cbd695da0882f78c769 (diff) | |
download | external_mesa3d-6f9b1afc862851532e4820705c412388b497ad58.zip external_mesa3d-6f9b1afc862851532e4820705c412388b497ad58.tar.gz external_mesa3d-6f9b1afc862851532e4820705c412388b497ad58.tar.bz2 |
r300: Call radeonSetCliprects from radeonMakeCurrent.
Based on a patch by Panagiotis Papadakos.
Among other things, this makes sure the framebuffer object associated with the
drawable has the correct size when _mesa_make_current is called, so the default
viewport is set up correctly.
Also update radeon->lastStamp in radeonSetCliprects.
Diffstat (limited to 'src/mesa/drivers/dri/r300/radeon_lock.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/radeon_lock.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/radeon_lock.c b/src/mesa/drivers/dri/r300/radeon_lock.c index a00da6c..1a2dfca 100644 --- a/src/mesa/drivers/dri/r300/radeon_lock.c +++ b/src/mesa/drivers/dri/r300/radeon_lock.c @@ -90,7 +90,6 @@ static void r300RegainedLock(radeonContextPtr radeon) #else radeonUpdateScissor(radeon->glCtx); #endif - radeon->lastStamp = drawable->lastStamp; } if (sarea->ctx_owner != radeon->dri.hwContext) { |