examples: Bug fix: import image/png explicitly (#500)

This commit is contained in:
Hajime Hoshi 2018-02-11 03:31:30 +09:00
parent a8148b968c
commit ba53475636
6 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@ package blocks
import (
"image/color"
_ "image/jpeg"
_ "image/png"
"math/rand"
"strconv"
"time"

View File

@ -18,6 +18,7 @@ package blocks
import (
"image"
_ "image/png"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"

View File

@ -18,6 +18,7 @@ package blocks
import (
"image/color"
_ "image/png"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"

View File

@ -17,6 +17,7 @@
package main
import (
_ "image/png"
"log"
"strconv"

View File

@ -18,6 +18,7 @@ package main
import (
"fmt"
_ "image/png"
"github.com/hajimehoshi/ebiten"
"github.com/hajimehoshi/ebiten/ebitenutil"

View File

@ -19,6 +19,7 @@ package main
import (
"image"
"image/color"
_ "image/png"
"log"
"strings"