mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Fix crash disassembling library with dummy entry point
This commit is contained in:
@@ -374,6 +374,9 @@ EntryPointInterface::Sampler::Sampler(const Metadata *sampler)
|
||||
|
||||
EntryPointInterface::EntryPointInterface(const Metadata *entryPoint)
|
||||
{
|
||||
if(entryPoint->children[0] == NULL)
|
||||
return;
|
||||
|
||||
function = entryPoint->children[0]->type;
|
||||
name = entryPoint->children[1]->str;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user