X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Filwrap.h;h=331cfd32a2b625db1cb5d35cd8943a1c4277a771;hb=d23880571efc16dff1cfeeb92f35fe54c8f64c3d;hp=7b3766a4c4f347b4dda5bbde92700216b5b8c963;hpb=a361efc05fcad11b2918f3cd7abdebe794b131d8;p=libs%2Fgl.git diff --git a/source/ilwrap.h b/source/ilwrap.h index 7b3766a4..331cfd32 100644 --- a/source/ilwrap.h +++ b/source/ilwrap.h @@ -18,13 +18,12 @@ class Image private: unsigned id; - static bool init_done; - public: Image(); ~Image(); - void load(const std::string &); + void load_file(const std::string &); + void load_lump(const void *, unsigned); PixelFormat get_format() const; unsigned get_width() const; unsigned get_height() const;