mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
Don't call glGetFloat every time love.graphics.getSystemLimits is called.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user