diff options
author | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 11:40:23 +0200 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2021-05-25 11:40:23 +0200 |
commit | e03455a979abf4444d4362dacbbf55c6915d3b69 (patch) | |
tree | 9aacd6948a4ab86d7ff2ecfb71dc17a1a9260cc4 /graphics.go | |
parent | d6828f4039352a44a1389313ba856369932732e4 (diff) | |
download | stlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.tar stlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.tar.zst stlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.zip |
Make Geometry Types iterable
Diffstat (limited to 'graphics.go')
-rw-r--r-- | graphics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics.go b/graphics.go index 66b8274..0aacdb7 100644 --- a/graphics.go +++ b/graphics.go @@ -147,7 +147,7 @@ func compileShader(source string, shaderType uint32) (uint32, error) { log := strings.Repeat("\x00", int(logLength+1)) gl.GetShaderInfoLog(shader, logLength, nil, gl.Str(log)) - return 0, fmt.Errorf("failed to compile %v: %v", source, log) + return 0, fmt.Errorf("Failed to compile %v: %v", source, log) } return shader, nil |