Move internal Slices class from Image to Texture

This commit is contained in:
Alex Szpakowski
2020-02-02 13:50:37 -04:00
parent e0ffdfc1ba
commit f24b1aa377
8 changed files with 208 additions and 211 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ public:
// Implements Module.
virtual ModuleType getModuleType() const { return M_GRAPHICS; }
virtual Image *newImage(const Image::Slices &data, const Image::Settings &settings) = 0;
virtual Image *newImage(const Texture::Slices &data, const Image::Settings &settings) = 0;
virtual Image *newImage(TextureType textype, PixelFormat format, int width, int height, int slices, const Image::Settings &settings) = 0;
Quad *newQuad(Quad::Viewport v, double sw, double sh);