mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
The graphics viewport is now properly restored when switching from an active Canvas to no Canvas (resolves issue #817)
This commit is contained in:
@@ -112,6 +112,9 @@ public:
|
||||
static Canvas *current;
|
||||
static void bindDefaultCanvas();
|
||||
|
||||
// The viewport dimensions of the system (default) framebuffer.
|
||||
static OpenGL::Viewport systemViewport;
|
||||
|
||||
GLuint getTextureName() const
|
||||
{
|
||||
return img;
|
||||
|
||||
Reference in New Issue
Block a user