mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
internal/graphics: update error messages
This commit is contained in:
parent
7af300a468
commit
f9650fbb8c
@ -130,10 +130,10 @@ func CompileShader(src []byte) (*shaderir.Program, error) {
|
||||
}
|
||||
|
||||
if ir.VertexFunc.Block == nil {
|
||||
return nil, fmt.Errorf("graphicscommand: vertex shader entry point '%s' is missing", vert)
|
||||
return nil, fmt.Errorf("graphics: vertex shader entry point '%s' is missing", vert)
|
||||
}
|
||||
if ir.FragmentFunc.Block == nil {
|
||||
return nil, fmt.Errorf("graphicscommand: fragment shader entry point '%s' is missing", frag)
|
||||
return nil, fmt.Errorf("graphics: fragment shader entry point '%s' is missing", frag)
|
||||
}
|
||||
|
||||
return ir, nil
|
||||
|
Loading…
Reference in New Issue
Block a user