mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Prevent overflows and underflows in love.graphics.push and love.graphics.pop (bug #118)
Maximum is hardware maximum - 5, so the engine itself has a few matrices.
This commit is contained in:
@@ -115,6 +115,8 @@ namespace opengl
|
||||
DisplayMode currentMode;
|
||||
|
||||
float lineWidth;
|
||||
GLint matrixLimit;
|
||||
GLint userMatrices;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user