From 20f9a990acdbf0aaff9c352d5024f3413d7f78b4 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 16 Oct 2013 22:18:46 +0900 Subject: [PATCH] Replace Screen/ResetOffscreen --- example/game/rects/rects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/game/rects/rects.go b/example/game/rects/rects.go index 43b72e785..7abd372c3 100644 --- a/example/game/rects/rects.go +++ b/example/game/rects/rects.go @@ -88,7 +88,7 @@ func (game *Rects) Draw(g graphics.Context) { game.rectGeometryMatrix(), game.rectColorMatrix()) - g.SetOffscreen(g.Screen().ID()) + g.ResetOffscreen() g.DrawTexture(game.offscreen.Texture().ID(), matrix.IdentityGeometry(), matrix.IdentityColor())