mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Need to allocate memory via callback to renderdoc.dll as well as freeing
* This whole interface really needs a tidy-up at some point, but for now this is enough.
This commit is contained in:
1 parent
d7c4c0be7d
commit
af5c40cf7b
3 files changed
+11
-1
No files matched your search
@@ -383,6 +383,12 @@ void RENDERDOC_CC RENDERDOC_FreeArrayMem(const void *mem)
|
||||
rdctype::array<char>::deallocate(mem);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void *RENDERDOC_CC RENDERDOC_AllocArrayMem(size_t sz)
|
||||
{
|
||||
return rdctype::array<char>::allocate(sz);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_InitRemoteAccess(uint32_t *ident)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user