mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
r600c: preserve correct buffer when using fbo
Hopefully better than previous - this passes more mipgen tests
This commit is contained in:
parent
0a85845c9e
commit
4ef3e261a4
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ void radeon_prepare_render(radeonContextPtr radeon)
|
||||||
|
|
||||||
/* Intel driver does the equivalent of this, no clue if it is needed:*/
|
/* Intel driver does the equivalent of this, no clue if it is needed:*/
|
||||||
draw = drawable->driverPrivate;
|
draw = drawable->driverPrivate;
|
||||||
radeon_draw_buffer(radeon->glCtx, &draw->base);
|
radeon_draw_buffer(radeon->glCtx, radeon->glCtx->DrawBuffer);
|
||||||
|
|
||||||
driContext->dri2.draw_stamp = drawable->dri2.stamp;
|
driContext->dri2.draw_stamp = drawable->dri2.stamp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue