mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
testing: Bug fix: Wrong uniform variables
This commit is contained in:
parent
8c5f8c03b7
commit
f636cdf5f7
@ -303,9 +303,6 @@ func ShaderProgramImages(imageNum int) shaderir.Program {
|
||||
|
||||
for i := 0; i < imageNum; i++ {
|
||||
p.Uniforms = append(p.Uniforms, shaderir.Type{Main: shaderir.Texture2D})
|
||||
if i > 0 {
|
||||
p.Uniforms = append(p.Uniforms, shaderir.Type{Main: shaderir.Vec4})
|
||||
}
|
||||
}
|
||||
|
||||
// In the fragment shader, local variables are:
|
||||
|
Loading…
Reference in New Issue
Block a user