mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 04:11:05 +00:00
Allow more queries in the initial wrapped pool
* The Talos Principle allocs more than 8192
This commit is contained in:
@@ -1179,7 +1179,9 @@ public:
|
||||
class WrappedID3D11Query : public WrappedDeviceChild<ID3D11Query>
|
||||
{
|
||||
public:
|
||||
ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D11Query);
|
||||
static const int AllocPoolCount = 16*1024;
|
||||
static const int AllocPoolMaxByteSize = 1024*1024;
|
||||
ALLOCATE_WITH_WRAPPED_POOL(WrappedID3D11Query, AllocPoolCount, AllocPoolMaxByteSize);
|
||||
|
||||
WrappedID3D11Query(ID3D11Query* real, WrappedID3D11Device* device)
|
||||
: WrappedDeviceChild(real, device) {}
|
||||
|
||||
Reference in New Issue
Block a user