NaCl: Added occlusion query interface.

This commit is contained in:
Branimir Karadžić 2015-12-08 20:34:31 -08:00
parent aaea5f93ec
commit 43f37a001d
4 changed files with 69 additions and 8 deletions
examples/common

View file

@ -36,6 +36,10 @@ void* load(bx::FileReaderI* _reader, bx::AllocatorI* _allocator, const char* _fi
}
return data;
}
else
{
DBG("Failed to open: %s.", _filePath);
}
if (NULL != _size)
{
@ -66,6 +70,7 @@ static const bgfx::Memory* loadMem(bx::FileReaderI* _reader, const char* _filePa
return mem;
}
DBG("Failed to load %s.", _filePath);
return NULL;
}
@ -85,6 +90,7 @@ static void* loadMem(bx::FileReaderI* _reader, bx::AllocatorI* _allocator, const
return data;
}
DBG("Failed to load %s.", _filePath);
return NULL;
}