shader: Format

This commit is contained in:
Hajime Hoshi 2020-06-03 23:57:45 +09:00
parent 762b9788a0
commit fc44589705

View File

@ -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{}
}