fix(linux/capture): fix logical comparison of texture size (#2349)

Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
hdL6c 2024-04-06 18:03:54 -04:00 committed by GitHub
commit 7f795f0e19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ namespace gl {
} }
tex_t::~tex_t() { tex_t::~tex_t() {
if (!size() == 0) { if (size() != 0) {
ctx.DeleteTextures(size(), begin()); ctx.DeleteTextures(size(), begin());
} }
} }