mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
examples/contextlost: Bug fix: Compile error
This commit is contained in:
parent
1c13e73b06
commit
c777dc6938
@ -144,11 +144,11 @@ func main() {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
gophersImage, _ = ebiten.NewImageFromImage(img)
|
||||
gophersImage = ebiten.NewImageFromImage(img)
|
||||
|
||||
// Extend the shared backend GL texture on purpose.
|
||||
for i := 0; i < 20; i++ {
|
||||
eimg, _ := ebiten.NewImageFromImage(img)
|
||||
eimg := ebiten.NewImageFromImage(img)
|
||||
extraImages = append(extraImages, eimg)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user