mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefully fixes lockups (?) (from r200 driver)
This commit is contained in:
parent
8e39265752
commit
ce055c26f0
1 changed files with 7 additions and 0 deletions
|
|
@ -1021,6 +1021,13 @@ static void radeonClear( GLcontext *ctx, GLbitfield mask, GLboolean all,
|
|||
__FUNCTION__, all, cx, cy, cw, ch );
|
||||
}
|
||||
|
||||
{
|
||||
LOCK_HARDWARE( rmesa );
|
||||
UNLOCK_HARDWARE( rmesa );
|
||||
if ( dPriv->numClipRects == 0 )
|
||||
return;
|
||||
}
|
||||
|
||||
radeonFlush( ctx );
|
||||
|
||||
if ( mask & DD_FRONT_LEFT_BIT ) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue