X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;h=6ae600e767acc2c7999d6523eba964db2d542f74;hb=f2bb1caa233930e1148613e9d5daa2c29b0fe271;hp=a2454b76b3e613dd552599a2e545d7aef4716d0a;hpb=160e9eea29bd10034733d59507fa1bcca36be401;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index a2454b76..6ae600e7 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -32,12 +32,11 @@ public: }; private: - unsigned width; - unsigned height; - unsigned levels; + unsigned width = 0; + unsigned height = 0; + unsigned levels = 0; public: - Texture2D(ResourceManager * = 0); virtual ~Texture2D(); /** Defines storage structure for the texture. If lv is zero, the number @@ -62,8 +61,6 @@ public: image must match the defined storage. */ virtual void image(const Graphics::Image &, unsigned lv = 0); - using Texture::image; - unsigned get_width() const { return width; } unsigned get_height() const { return height; }