Improve error handling in graphics memory init

This commit is contained in:
Herman S.
2025-10-08 09:11:26 +09:00
parent 337afcf318
commit 1e23aaf4fc
4 changed files with 14 additions and 4 deletions

View File

@@ -105,7 +105,7 @@ class SharedMemory {
protected:
SharedMemory(Memory& memory);
// Call in implementation-specific initialization.
void InitializeCommon();
bool InitializeCommon();
void InitializeSparseHostGpuMemory(uint32_t granularity_log2);
// Call last in implementation-specific shutdown, also callable from the
// destructor.