mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
Replace Screen/ResetOffscreen
This commit is contained in:
parent
2794c70388
commit
20f9a990ac
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user