]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturecube.h
Remove the obsolete storage statement with border
[libs/gl.git] / source / texturecube.h
index 4530a97ac8525d4719af598c9ed1757edfbbf47b..7510a716a6be13dc6f884e4af41fe4d6b13ad143 100644 (file)
@@ -2,8 +2,6 @@
 #define MSP_GL_TEXTURECUBE_H_
 
 #include <msp/graphics/image.h>
-#include "datatype.h"
-#include "pixelformat.h"
 #include "texture.h"
 #include "vector.h"
 #include <msp/gl/extensions/arb_texture_cube_map.h>
@@ -44,6 +42,7 @@ public:
        private:
                void init();
 
+               void external_image(TextureCubeFace, const std::string &);
                void image_data(TextureCubeFace, const std::string &);
                void raw_data(TextureCubeFace, const std::string &);
                void storage(PixelFormat, unsigned);
@@ -82,6 +81,8 @@ public:
 
        void image(TextureCubeFace, const Graphics::Image &, bool = false);
 
+       virtual void image(const Graphics::Image &, bool = false);
+
        unsigned get_size() const { return size; }
 private:
        unsigned get_level_size(unsigned);