mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
Fix potential crash in begin_occlusion_query() while closing the Emu
This commit is contained in:
parent
039f8e1f9d
commit
6f770c8e35
1 changed files with 1 additions and 1 deletions
|
@ -2612,7 +2612,7 @@ namespace rsx
|
||||||
void ZCULL_control::allocate_new_query(::rsx::thread* ptimer)
|
void ZCULL_control::allocate_new_query(::rsx::thread* ptimer)
|
||||||
{
|
{
|
||||||
int retries = 0;
|
int retries = 0;
|
||||||
while (!Emu.IsStopped())
|
while (true)
|
||||||
{
|
{
|
||||||
for (u32 n = 0; n < occlusion_query_count; ++n)
|
for (u32 n = 0; n < occlusion_query_count; ++n)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue