forked from Mirrors/openclonk
Fix brush preview in GTK+ developer mode
This looks like an artifact from when the alpha channel was inverted.issue1247
parent
fb5365c2b1
commit
56b19ac065
|
@ -1301,7 +1301,7 @@ void C4ToolsDlg::State::UpdatePreview()
|
|||
*data = (dw >> 16) & 0xff; ++ data;
|
||||
*data = (dw >> 8 ) & 0xff; ++ data;
|
||||
*data = (dw ) & 0xff; ++ data;
|
||||
*data = 0xff - ((dw >> 24) & 0xff); ++ data;
|
||||
*data = (dw >> 24) & 0xff; ++ data;
|
||||
}
|
||||
|
||||
sfcPreview->Unlock();
|
||||
|
|
Loading…
Reference in New Issue