Abstracted lower level drawing code, moved all type-specific drawing code out of opengl backend, deleted obsolete files

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-10-26 20:58:19 -03:00
parent 7ffb04f019
commit e3fd489373
22 changed files with 109 additions and 630 deletions
+1 -3
View File
@@ -66,7 +66,7 @@ public:
// Implements Drawable.
void draw(love::graphics::Graphics *gfx, const Matrix4 &m) override;
protected:
private:
struct TextData
{
@@ -83,8 +83,6 @@ protected:
void regenerateVertices();
void addTextData(const TextData &s);
virtual void drawInternal(const std::vector<Font::DrawCommand> &commands) const = 0;
StrongRef<Font> font;
vertex::Attributes vertexAttributes;