From e03455a979abf4444d4362dacbbf55c6915d3b69 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 25 May 2021 11:40:23 +0200 Subject: Make Geometry Types iterable --- graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics.go') 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 -- cgit v1.2.3-70-g09d2