]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2dmultisample.h
Store query pool size separately, in the common part of the class
[libs/gl.git] / source / core / texture2dmultisample.h
index 1abacfaa6018bd3aafa9c49e9d0968fba7346f6d..9710ad7847b131baefc4889c396d54163e53b20f 100644 (file)
@@ -1,13 +1,15 @@
 #ifndef MSP_GL_TEXTURE2DMULTISAMPLE_H_
 #define MSP_GL_TEXTURE2DMULTISAMPLE_H_
 
-#include "texture.h"
+#include "texture2dmultisample_backend.h"
 
 namespace Msp {
 namespace GL {
 
-class Texture2DMultisample: public Texture
+class Texture2DMultisample: public Texture2DMultisampleBackend
 {
+       friend Texture2DMultisampleBackend;
+
 private:
        unsigned width;
        unsigned height;
@@ -25,7 +27,7 @@ public:
        unsigned get_samples() const { return samples; }
 
        virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
-       virtual UInt64 get_data_size() const;
+       virtual std::uint64_t get_data_size() const;
        virtual void unload() { }
 };