mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +01:00
gl: Check that fence is not empty before calling destroy
This commit is contained in:
parent
2b0edf6cde
commit
dfc564f837
@ -308,7 +308,8 @@ namespace gl
|
||||
pbo_size = 0;
|
||||
}
|
||||
|
||||
m_fence.destroy();
|
||||
if (!m_fence.is_empty())
|
||||
m_fence.destroy();
|
||||
}
|
||||
|
||||
texture::format get_format() const
|
||||
|
Loading…
Reference in New Issue
Block a user