Skip to content

Commit

Permalink
fix(linux/capture): fix logical comparison of texture size (LizardByt…
Browse files Browse the repository at this point in the history
…e#2349)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
  • Loading branch information
2 people authored and KuleRucket committed Jun 6, 2024
1 parent 4e70ccd commit 0f38818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/linux/graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace gl {
}

tex_t::~tex_t() {
if (!size() == 0) {
if (size() != 0) {
ctx.DeleteTextures(size(), begin());
}
}
Expand Down

0 comments on commit 0f38818

Please sign in to comment.