Skip to content

Commit

Permalink
fix(linux/capture): fix logical comparison of texture size (#2349)
Browse files Browse the repository at this point in the history
Co-authored-by: ReenigneArcher <[email protected]>
  • Loading branch information
istori1 and ReenigneArcher authored Apr 6, 2024
1 parent b7aa811 commit 7f795f0
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 7f795f0

Please sign in to comment.