Replace Screen/ResetOffscreen

This commit is contained in:
Hajime Hoshi 2013-10-16 22:18:46 +09:00
parent 2794c70388
commit 20f9a990ac

View File

@ -88,7 +88,7 @@ func (game *Rects) Draw(g graphics.Context) {
game.rectGeometryMatrix(), game.rectGeometryMatrix(),
game.rectColorMatrix()) game.rectColorMatrix())
g.SetOffscreen(g.Screen().ID()) g.ResetOffscreen()
g.DrawTexture(game.offscreen.Texture().ID(), g.DrawTexture(game.offscreen.Texture().ID(),
matrix.IdentityGeometry(), matrix.IdentityGeometry(),
matrix.IdentityColor()) matrix.IdentityColor())