mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 18:13:23 +09:00
P5f fr: guard client allocator singleton including bookkeeping reads
This commit is contained in:
@@ -1957,7 +1957,8 @@ TEST(RemoteGuards, BarrieredLegacyScopesCannotExemptAllocator) {
|
||||
MG_Config::ActiveBackendType = *static_cast<BackendType*>(self);
|
||||
const MG_Pipe::MGPipeFrontendKeyedRegistryScope registryScope;
|
||||
const MG_Pipe::MagmaP7AllocatorDebtScope magmaScope;
|
||||
MGPipeSlots().FindByLifetimeId(MGPipeKind::Texture, 99);
|
||||
// HighWater had no per-method guard in the old implementation.
|
||||
(void)MGPipeSlots().HighWater(MGPipeKind::Texture);
|
||||
return MOBILEGL_OK;
|
||||
}, &selectedBackend);
|
||||
ClientSessionInstance().Stop();
|
||||
|
||||
Reference in New Issue
Block a user