X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Ftexture2dmultisample.h;h=8c3275c0b3758fcbad92dd2a8c34ec557684c0a4;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hp=94323ecae553c52403b11138d3dad50d2875971a;hpb=3a1b9cbe2441ae670a97541dc8ccb0a2860c8302;p=libs%2Fgl.git diff --git a/source/core/texture2dmultisample.h b/source/core/texture2dmultisample.h index 94323eca..8c3275c0 100644 --- a/source/core/texture2dmultisample.h +++ b/source/core/texture2dmultisample.h @@ -1,21 +1,21 @@ #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; - unsigned samples; + unsigned width = 0; + unsigned height = 0; + unsigned samples = 0; public: - Texture2DMultisample(); - void storage(PixelFormat fmt, unsigned wd, unsigned ht, unsigned sm); virtual void image(const Graphics::Image &, unsigned = 0);