The graphics viewport is now properly restored when switching from an active Canvas to no Canvas (resolves issue #817)

This commit is contained in:
Alex Szpakowski
2013-12-30 23:52:46 -04:00
parent cd303c7c62
commit a00c006c44
3 changed files with 21 additions and 3 deletions
+3
View File
@@ -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;