mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
parent
521f9dcac5
commit
3306a957ba
@ -23,6 +23,7 @@ import (
|
||||
. "github.com/hajimehoshi/ebiten/internal/graphicscommand"
|
||||
"github.com/hajimehoshi/ebiten/internal/shaderir"
|
||||
t "github.com/hajimehoshi/ebiten/internal/testing"
|
||||
"github.com/hajimehoshi/ebiten/internal/web"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
@ -84,6 +85,9 @@ func TestShader(t *testing.T) {
|
||||
if !IsGL() {
|
||||
t.Skip("shader is not implemented on non-GL environment")
|
||||
}
|
||||
if web.IsBrowser() {
|
||||
t.Skip("shader is not implemented on browsers")
|
||||
}
|
||||
|
||||
const w, h = 16, 16
|
||||
clr := NewImage(w, h)
|
||||
|
Loading…
Reference in New Issue
Block a user