Added love.graphics.getCanvasFormats and love.graphics.getCompressedImageFormats, and removed love.graphics.hasCanvasFormat.

The two new functions return tables containing the names of all relevant formats as keys, and boolean values indicating whether the formats are supported.
This commit is contained in:
Alex Szpakowski
2014-07-05 16:22:52 -03:00
parent 4c67a94ba3
commit d11ccd0e69
7 changed files with 92 additions and 65 deletions
+5
View File
@@ -455,6 +455,11 @@ public:
**/
double getSystemLimit(SystemLimit limittype) const;
/**
* Gets whether a graphics feature is supported on this system.
**/
bool isSupported(Support feature) const;
void push();
void pop();
void rotate(float r);