mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +00:00
remove debug code
This commit is contained in:
@@ -510,11 +510,9 @@ string DXBCFile::GetDebugBinaryPath(const void *ByteCode, size_t ByteCodeLength)
|
||||
|
||||
uint32_t *chunkOffsets = (uint32_t *)(header+1); // right after the header
|
||||
|
||||
static char* dbgData = nullptr;
|
||||
for(uint32_t chunkIdx = 0; chunkIdx < header->numChunks; chunkIdx++)
|
||||
{
|
||||
uint32_t *fourcc = (uint32_t *)(data + chunkOffsets[chunkIdx]);
|
||||
dbgData = (char*)fourcc;
|
||||
|
||||
if(*fourcc == FOURCC_PRIV)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user