pgraph: fix ScissorAttrib compare (fix flickering DirectScrolledFrame)

Fixes #681
This commit is contained in:
rdb 2019-07-10 11:14:54 +02:00
parent cee000d1da
commit 4bb31029f0

View File

@ -101,7 +101,7 @@ int ScissorAttrib::
compare_to_impl(const RenderAttrib *other) const {
const ScissorAttrib *ta = (const ScissorAttrib *)other;
if (!_off && !ta->_off) {
if (_off && ta->_off) {
return 0;
}