mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
ebiten: fixed a wrong function name mentioned in panic (#1953)
This commit is contained in:
parent
bf48a0b11a
commit
8a2965ba4a
2
image.go
2
image.go
@ -466,7 +466,7 @@ func (i *Image) DrawTrianglesShader(vertices []Vertex, indices []uint16, shader
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if img.isDisposed() {
|
if img.isDisposed() {
|
||||||
panic("ebiten: the given image to DrawRectShader must not be disposed")
|
panic("ebiten: the given image to DrawTrianglesShader must not be disposed")
|
||||||
}
|
}
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
imgw, imgh = img.Size()
|
imgw, imgh = img.Size()
|
||||||
|
Loading…
Reference in New Issue
Block a user