love.graphics: move more platform-independent code out of the opengl backend

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-07-22 23:34:39 -03:00
parent b568e267eb
commit 864147c38c
22 changed files with 368 additions and 316 deletions
+3 -2
View File
@@ -38,8 +38,9 @@ public:
Text(love::graphics::Graphics *gfx, love::graphics::Font *font, const std::vector<Font::ColoredString> &text = {});
virtual ~Text();
// Implements Drawable.
void draw(love::graphics::Graphics *gfx, const Matrix4 &m) override;
protected:
void drawInternal(const std::vector<Font::DrawCommand> &commands) const override;
}; // Text