X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.h;h=994c4efd7224c43605ec0f6097483124e809db35;hb=2e6a73a93eac0a18063ec675a24a8e6eeeb80a0c;hp=f81231d18466eebf8746cb2cb9a19d552513a3fc;hpb=06b79262c9d455669e93213200d959db5b221dc2;p=libs%2Fgl.git diff --git a/source/texture2d.h b/source/texture2d.h index f81231d1..994c4efd 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -18,7 +18,7 @@ most common type of texture. class Texture2D: public Texture { public: - class Loader: public Texture::Loader + class Loader: public Msp::DataFile::DerivedObjectLoader { public: Loader(Texture2D &); @@ -66,7 +66,7 @@ private: void image(const Graphics::Image &); public: - unsigned get_width() const { return width; } + unsigned get_width() const { return width; } unsigned get_height() const { return height; } private: