mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
graphics: Remove nop: Use Go 1.8.1 (#329)
This commit is contained in:
parent
fb612a4b87
commit
bdb96c2a5c
@ -69,9 +69,6 @@ func vertices(parts ImageParts, width, height int, geo *affine.GeoM) []float32 {
|
|||||||
vs[n+8] = g4
|
vs[n+8] = g4
|
||||||
vs[n+9] = g5
|
vs[n+9] = g5
|
||||||
|
|
||||||
// nop is required to avoid an ARM 32bit issue (#329).
|
|
||||||
nop()
|
|
||||||
|
|
||||||
vs[n+10] = x1
|
vs[n+10] = x1
|
||||||
vs[n+11] = y0
|
vs[n+11] = y0
|
||||||
vs[n+12] = u1
|
vs[n+12] = u1
|
||||||
@ -109,7 +106,3 @@ func vertices(parts ImageParts, width, height int, geo *affine.GeoM) []float32 {
|
|||||||
}
|
}
|
||||||
return vs
|
return vs
|
||||||
}
|
}
|
||||||
|
|
||||||
//go:noinline
|
|
||||||
func nop() {
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user