add LOCK_HARDWARE/UNLOCK_HARDWARE to radeonClear so state gets updated which hopefully fixes lockups (?) (from r200 driver)

This commit is contained in:
Roland Scheidegger 2004-11-12 18:29:51 +00:00
parent 8e39265752
commit ce055c26f0

View file

@ -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 ) {