mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/atlas: remove unnecessary comments
This commit is contained in:
parent
6b814888b5
commit
7c458f519e
@ -341,8 +341,6 @@ func (i *Image) putOnAtlas(graphicsDriver graphicsdriver.Graphics) error {
|
|||||||
|
|
||||||
newI := NewImage(i.width, i.height, ImageTypeRegular)
|
newI := NewImage(i.width, i.height, ImageTypeRegular)
|
||||||
|
|
||||||
// If the underlying graphics driver doesn't require restoring from the context lost, just a regular
|
|
||||||
// rendering works.
|
|
||||||
w, h := float32(i.width), float32(i.height)
|
w, h := float32(i.width), float32(i.height)
|
||||||
vs := graphics.QuadVertices(0, 0, w, h, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1)
|
vs := graphics.QuadVertices(0, 0, w, h, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1)
|
||||||
is := graphics.QuadIndices()
|
is := graphics.QuadIndices()
|
||||||
|
Loading…
Reference in New Issue
Block a user