summaryrefslogtreecommitdiff
path: root/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'error.go')
-rw-r--r--error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.go b/error.go
index 3245cc5..fed3a00 100644
--- a/error.go
+++ b/error.go
@@ -163,7 +163,7 @@ func acceptError(codes ...ErrorCode) error {
case notInitialized, noCurrentContext, invalidEnum, invalidValue, outOfMemory, platformError:
panic(err)
default:
- fmt.Println("GLFW: A invalid error was not accepted by the caller:", err)
+ fmt.Println("GLFW: An invalid error was not accepted by the caller:", err)
fmt.Println("GLFW: Please report this bug in the Go package immediately.")
panic(err)
}