mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +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.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())
|
||||||
|
Loading…
Reference in New Issue
Block a user