From f29ff4a9e2877d352b0ce702786c109f932660df Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 3 Jul 2016 16:41:05 +0900 Subject: [PATCH] graphics: Refactoring: No need to call ResetViewportSize --- graphicscontext.go | 1 - 1 file changed, 1 deletion(-) diff --git a/graphicscontext.go b/graphicscontext.go index 1db531207..62ae47be8 100644 --- a/graphicscontext.go +++ b/graphicscontext.go @@ -71,7 +71,6 @@ func (c *graphicsContext) SetSize(screenWidth, screenHeight int, screenScale flo c.offscreen = offscreen c.offscreen2 = offscreen2 c.screenScale = screenScale - ui.GLContext().ResetViewportSize() return nil }