]> git.tdb.fi Git - libs/gl.git/blobdiff - source/ilwrap.h
Support embedding textures in datafiles
[libs/gl.git] / source / ilwrap.h
index 7b3766a4c4f347b4dda5bbde92700216b5b8c963..331cfd32a2b625db1cb5d35cd8943a1c4277a771 100644 (file)
@@ -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;