Don't call glGetFloat every time love.graphics.getSystemLimits is called.

This commit is contained in:
Alex Szpakowski
2016-03-20 22:00:24 -03:00
parent bc932aecef
commit 9ebd759851
3 changed files with 12 additions and 4 deletions
+7
View File
@@ -377,6 +377,12 @@ public:
**/
int getMaxTextureUnits() const;
/**
* Returns the maximum point size.
**/
float getMaxPointSize() const;
void updateTextureMemorySize(size_t oldsize, size_t newsize);
/**
@@ -408,6 +414,7 @@ private:
int maxRenderTargets;
int maxRenderbufferSamples;
int maxTextureUnits;
float maxPointSize;
Vendor vendor;