summaryrefslogtreecommitdiff
path: root/graphics.go
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-05-25 11:40:23 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-05-25 11:40:23 +0200
commite03455a979abf4444d4362dacbbf55c6915d3b69 (patch)
tree9aacd6948a4ab86d7ff2ecfb71dc17a1a9260cc4 /graphics.go
parentd6828f4039352a44a1389313ba856369932732e4 (diff)
downloadstlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.tar
stlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.tar.zst
stlscope-e03455a979abf4444d4362dacbbf55c6915d3b69.zip
Make Geometry Types iterable
Diffstat (limited to 'graphics.go')
-rw-r--r--graphics.go2
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