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
istori1 and ReenigneArcher committed Apr 6, 2024
1 parent 58f35fa commit 724bebf
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 724bebf

Please sign in to comment.