Remove graphics::Canvas and graphics::Image

This commit is contained in:
Alex Szpakowski
2020-02-04 22:06:55 -04:00
parent b71eaf73cc
commit 258129738f
19 changed files with 254 additions and 577 deletions
+3 -4
View File
@@ -21,7 +21,7 @@
#pragma once
// LOVE
#include "graphics/Image.h"
#include "graphics/Texture.h"
#include "graphics/Volatile.h"
// OpenGL
@@ -34,12 +34,11 @@ namespace graphics
namespace opengl
{
class Image final : public love::graphics::Image, public Volatile
class Image final : public love::graphics::Texture, public Volatile
{
public:
Image(const Slices &data, const Settings &settings);
Image(TextureType textype, PixelFormat format, int width, int height, int slices, const Settings &settings);
Image(const Settings &settings, const Slices *data);
virtual ~Image();