shader: Bug fix: Compile error on the test

This commit is contained in:
Hajime Hoshi 2020-07-08 01:38:27 +09:00
parent 4021c24534
commit 914eb093f8

View File

@ -101,7 +101,7 @@ func TestCompile(t *testing.T) {
t.Fatal(err)
}
s, err := Compile(fset, f, "Vertex", "Fragment")
s, err := Compile(fset, f, "Vertex", "Fragment", 0)
if err != nil {
t.Error(err)
return