mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Change Graphics::reset() to unbind FBO and clear stencil buffer. Change error
screen to call love.graphics.reset() instead of individual resets. --HG-- branch : minor
This commit is contained in:
@@ -297,6 +297,8 @@ namespace opengl
|
||||
void Graphics::reset()
|
||||
{
|
||||
DisplayState s;
|
||||
discardMask();
|
||||
Framebuffer::bindDefaultBuffer();
|
||||
restoreState(s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user