mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Move internal Slices class from Image to Texture
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user