DRW: Fix state not being locked
Regression introduced by rBe12c08e8d170b7ca40f204a5b0423c23a9fbc2c1
This commit is contained in:
parent
a1f54be042
commit
a204324966
|
@ -78,6 +78,9 @@ typedef struct DRWCommandsState {
|
|||
|
||||
void drw_state_set(DRWState state)
|
||||
{
|
||||
/* Mask locked state. */
|
||||
state = (~DST.state_lock & state) | (DST.state_lock & DST.state);
|
||||
|
||||
if (DST.state == state) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue