Added love.graphics.getSystemLimit (resolves issue #840). Deprecated love.graphics.getMaxPointSize.

love.graphics.getSystemLimit currently accepts these enum strings: “pointsize”, “texturesize”, “multicanvas”, and “canvasfsaa”.
This commit is contained in:
Alex Szpakowski
2014-01-27 02:19:30 -04:00
parent 7556fde5e6
commit 988404e4ca
9 changed files with 119 additions and 38 deletions
+6
View File
@@ -215,6 +215,11 @@ public:
**/
int getMaxTextureSize() const;
/**
* Returns the maximum supported number of simultaneous render targets.
**/
int getMaxRenderTargets() const;
/**
* Get the GPU vendor of this OpenGL context.
**/
@@ -231,6 +236,7 @@ private:
float maxAnisotropy;
int maxTextureSize;
int maxRenderTargets;
Vendor vendor;