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:
parent
b7aa8119f1
commit
7f795f0e19
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue