Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: ReenigneArcher <[email protected]>
  • Loading branch information
2 people authored and cgutman committed Apr 6, 2024
1 parent ff534e7 commit 9a2fa6e
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 9a2fa6e

Please sign in to comment.