QueryPool::QueryPool(QueryType t, unsigned s):
QueryPoolBackend(t),
- type(t)
+ type(t),
+ size(0)
{
resize(s);
}
+void QueryPool::resize(unsigned s)
+{
+ size = s;
+ QueryPoolBackend::resize();
+}
+
QueryPool::Activate::Activate(Renderer &r, const QueryPool &p, unsigned i):
renderer(r),