summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-08-21 20:36:46 +0200
committerJosJuice <josjuice@gmail.com>2024-08-21 20:36:46 +0200
commitdcf8ab01898eb71bcf4aca1fa527e6cd196367da (patch)
tree3e51a6fa4cf59f33d0e2d52654b17d0f9257031b /Source/Core/VideoCommon/TextureCacheBase.cpp
parent93617e96c3c208e032f31053e1b02f6c9ddc35e9 (diff)
Android: Wait for surface in Run
When we boot the core, it needs to have a valid surface to draw graphics to. Our Kotlin code does wait for a valid surface to exist before it calls NativeLibrary.Run, but there's a chance for the surface to be deleted before Run locks s_surface_lock. If that happens, the core boots without a valid surface, which presumably would cause a crash. (I haven't been able to reproduce the problem myself.)
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
0 files changed, 0 insertions, 0 deletions