Only used on single threaded systems (load_queue_sync.cpp)
| 651 | #if !defined(DM_HAS_THREADS) |
| 652 | // Only used on single threaded systems (load_queue_sync.cpp) |
| 653 | LoadBufferType* GetGlobalLoadBuffer(HFactory factory) |
| 654 | { |
| 655 | return &factory->m_Buffer; |
| 656 | } |
| 657 | #endif |
| 658 | |
| 659 | Result LoadResourceToBuffer(HFactory factory, const char* path, const char* original_name, uint32_t preload_size, uint32_t* resource_size, uint32_t* buffer_size, LoadBufferType* buffer) |