mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shader: Fix comments
This commit is contained in:
parent
fc0604805a
commit
c8045210ac
@ -91,11 +91,11 @@ func NewShader(src []byte) (*Shader, error) {
|
||||
}
|
||||
|
||||
func (s *Shader) addError(str string) {
|
||||
// TODO: Add token positions.
|
||||
s.errs = append(s.errs, str)
|
||||
}
|
||||
|
||||
func (s *Shader) parse(f *ast.File) {
|
||||
// TODO: Accumulate errors
|
||||
for name, obj := range f.Scope.Objects {
|
||||
switch name {
|
||||
case varyingStructName:
|
||||
|
Loading…
Reference in New Issue
Block a user