X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2dmultisample.h;h=9710ad7847b131baefc4889c396d54163e53b20f;hb=160e9eea29bd10034733d59507fa1bcca36be401;hp=cb086f0d85dbecaade0d227441ad16bab3a1d838;hpb=cd5f37b066352119cf92d53d0001af7ff99be437;p=libs%2Fgl.git diff --git a/source/core/texture2dmultisample.h b/source/core/texture2dmultisample.h index cb086f0d..9710ad78 100644 --- a/source/core/texture2dmultisample.h +++ b/source/core/texture2dmultisample.h @@ -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; @@ -22,9 +24,10 @@ public: unsigned get_width() const { return width; } unsigned get_height() const { return height; } + 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() { } };