Fixed love.graphics.clear(colortable) causing crashes in GLES 2.0 when a Canvas is active (resolves issue #1127).

This commit is contained in:
Alex Szpakowski
2016-02-14 00:26:02 -04:00
parent 5923e2ca5b
commit f7ee949af8
3 changed files with 14 additions and 5 deletions
+2
View File
@@ -66,6 +66,8 @@ public:
{
float r, g, b, a;
bool enabled;
Colorf toColor() const { return Colorf(r, g, b, a); }
};
Graphics();