graphics: Remove an unused member

This commit is contained in:
Hajime Hoshi 2018-01-03 16:31:42 +09:00
parent 0f450fb1e2
commit d398cb14c2

View File

@ -33,7 +33,6 @@ type graphicsContext struct {
offscreen *Image offscreen *Image
offscreen2 *Image // TODO: better name offscreen2 *Image // TODO: better name
screen *Image screen *Image
screenScale float64
initialized bool initialized bool
invalidated bool // browser only invalidated bool // browser only
} }
@ -71,7 +70,6 @@ func (c *graphicsContext) SetSize(screenWidth, screenHeight int, screenScale flo
c.offscreen = offscreen c.offscreen = offscreen
c.offscreen2 = offscreen2 c.offscreen2 = offscreen2
c.screenScale = screenScale
} }
func (c *graphicsContext) initializeIfNeeded() error { func (c *graphicsContext) initializeIfNeeded() error {