mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
DXBC: Removed use of bx::CrtAllocator.
This commit is contained in:
@@ -1903,8 +1903,7 @@ namespace bgfx
|
||||
{
|
||||
bx::MemoryReader reader(_src.byteCode.data(), uint32_t(_src.byteCode.size() ) );
|
||||
|
||||
bx::CrtAllocator r;
|
||||
bx::MemoryBlock mb(&r);
|
||||
bx::MemoryBlock mb(g_allocator);
|
||||
bx::MemoryWriter writer(&mb);
|
||||
|
||||
for (uint32_t token = 0, numTokens = uint32_t(_src.byteCode.size() / sizeof(uint32_t) ); token < numTokens;)
|
||||
|
||||
Reference in New Issue
Block a user