Allow more queries in the initial wrapped pool

* The Talos Principle allocs more than 8192
This commit is contained in:
baldurk
2015-03-13 11:28:56 +00:00
parent 6cd1f70bb6
commit c962fbb043
+3 -1
View File
@@ -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) {}