mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
shader: Format
This commit is contained in:
parent
762b9788a0
commit
fc44589705
@ -367,7 +367,7 @@ func (cs *compileState) parseFunc(block *block, d *ast.FuncDecl) function {
|
||||
return function{}
|
||||
}
|
||||
if outT[0].Main != shaderir.Vec4 {
|
||||
cs.addError(d.Pos(), fmt.Sprintf("fragment entry point must have one returning vec4 value for a color"))
|
||||
cs.addError(d.Pos(), fmt.Sprintf("fragment entry point must have one returning vec4 value for a color"))
|
||||
return function{}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user