mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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