diff options
Diffstat (limited to 'include/mglpp/graphics/Image.hpp')
-rw-r--r-- | include/mglpp/graphics/Image.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/mglpp/graphics/Image.hpp b/include/mglpp/graphics/Image.hpp index 2f7aed5..fd82c0c 100644 --- a/include/mglpp/graphics/Image.hpp +++ b/include/mglpp/graphics/Image.hpp @@ -1,7 +1,6 @@ #ifndef MGLPP_IMAGE_HPP #define MGLPP_IMAGE_HPP -#include <string> #include "../system/vec.hpp" extern "C" { @@ -14,7 +13,7 @@ namespace mgl { Image(); ~Image(); - bool load_from_file(const std::string &filepath); + bool load_from_file(const char *filepath); unsigned char* data(); size_t get_byte_size(); vec2i get_size() const; |