shadow: fix build

This commit is contained in:
Vaxry 2024-03-05 20:31:31 +00:00
parent 9b54840e12
commit 81ec54c0e8

View file

@ -31,7 +31,7 @@ void CShadowable::markShadowDirty() {
bool CShadowable::draw(const IWidget::SRenderData& data) {
if (passes == 0)
return;
return true;
if (!shadowFB.isAllocated() || ignoreDraw)
return true;