Skip to content

Commit

Permalink
shadow: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Mar 5, 2024
1 parent 9b54840 commit 81ec54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/widgets/Shadowable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 81ec54c

Please sign in to comment.