mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Move internal Slices class from Image to Texture
This commit is contained in:
@@ -130,7 +130,7 @@ love::graphics::StreamBuffer *Graphics::newStreamBuffer(BufferType type, size_t
|
||||
return CreateStreamBuffer(type, size);
|
||||
}
|
||||
|
||||
love::graphics::Image *Graphics::newImage(const Image::Slices &data, const Image::Settings &settings)
|
||||
love::graphics::Image *Graphics::newImage(const Texture::Slices &data, const Image::Settings &settings)
|
||||
{
|
||||
return new Image(data, settings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user