Skip to content

Commit

Permalink
Fixed offscreen check.
Browse files Browse the repository at this point in the history
  • Loading branch information
leozide committed Oct 9, 2024
1 parent 4fce431 commit 5772688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lc_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class lcContext : protected QOpenGLFunctions

bool IsOffscreen() const
{
return mWidget != nullptr;
return mWidget == nullptr;
}

void ClearColorAndDepth(const lcVector4& ClearColor);
Expand Down

0 comments on commit 5772688

Please sign in to comment.