mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Better cleanup when the graphics and window subsystems are destroyed and restarted.
This commit is contained in:
@@ -50,6 +50,8 @@ Graphics::Graphics()
|
||||
, created(false)
|
||||
, activeStencil(false)
|
||||
{
|
||||
gl = OpenGL();
|
||||
|
||||
states.reserve(10);
|
||||
states.push_back(DisplayState());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user