mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
gl: Check that fence is not empty before calling destroy
This commit is contained in:
parent
2b0edf6cde
commit
dfc564f837
1 changed files with 2 additions and 1 deletions
|
@ -308,6 +308,7 @@ namespace gl
|
||||||
pbo_size = 0;
|
pbo_size = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!m_fence.is_empty())
|
||||||
m_fence.destroy();
|
m_fence.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue