X-Git-Url: https://git.lukelau.me/?p=opengl.git;a=blobdiff_plain;f=image.hpp;h=5a75b0daa6add203c96c2f155ca44638c1ba0600;hp=6864553c316b702efb124e375f0efa586e5a956e;hb=99d2b81ce5567869469fe2e55722cc212370c7db;hpb=d381f617bef400fc157edf782008cafb018ed594 diff --git a/image.hpp b/image.hpp index 6864553..5a75b0d 100644 --- a/image.hpp +++ b/image.hpp @@ -11,7 +11,7 @@ class Image { public: Image(const std::string &path); - Image(const unsigned char *data, size_t length); + Image(const unsigned char *data, size_t length, const char *formatHint); ~Image(); unsigned char *data() const; GLfloat width() const;