mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
examples: Bug fix: import image/png explicitly (#500)
This commit is contained in:
parent
a8148b968c
commit
ba53475636
@ -19,6 +19,7 @@ package blocks
|
||||
import (
|
||||
"image/color"
|
||||
_ "image/jpeg"
|
||||
_ "image/png"
|
||||
"math/rand"
|
||||
"strconv"
|
||||
"time"
|
||||
|
@ -18,6 +18,7 @@ package blocks
|
||||
|
||||
import (
|
||||
"image"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
|
@ -18,6 +18,7 @@ package blocks
|
||||
|
||||
import (
|
||||
"image/color"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
|
@ -17,6 +17,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "image/png"
|
||||
"log"
|
||||
"strconv"
|
||||
|
||||
|
@ -18,6 +18,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
_ "image/png"
|
||||
|
||||
"github.com/hajimehoshi/ebiten"
|
||||
"github.com/hajimehoshi/ebiten/ebitenutil"
|
||||
|
@ -19,6 +19,7 @@ package main
|
||||
import (
|
||||
"image"
|
||||
"image/color"
|
||||
_ "image/png"
|
||||
"log"
|
||||
"strings"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user