]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/query.h
Store query pool size separately, in the common part of the class
[libs/gl.git] / source / core / query.h
index f6b0a2e5ecfcb2269cf4027a0e54e7f0fd132d33..5bcae284e6cf28a067cd6d9555ca284251add92e 100644 (file)
@@ -33,12 +33,13 @@ public:
 
 private:
        QueryType type;
+       unsigned size;
 
 public:
        QueryPool(QueryType type, unsigned);
 
-       using QueryPoolBackend::resize;
-       using QueryPoolBackend::get_size;
+       void resize(unsigned);
+       unsigned get_size() const { return size; }
 
        using QueryPoolBackend::get_result;
 };