mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
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:
@@ -39,7 +39,7 @@ namespace gl {
|
||||
}
|
||||
|
||||
tex_t::~tex_t() {
|
||||
if (!size() == 0) {
|
||||
if (size() != 0) {
|
||||
ctx.DeleteTextures(size(), begin());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user