From 7616d875609e28493f2b916ad377a27d8819e847 Mon Sep 17 00:00:00 2001 From: Lilis Iskandar Date: Sat, 18 Jan 2020 13:08:16 +0800 Subject: [PATCH] sdl/surface: fix a typo Signed-off-by: Lilis Iskandar --- sdl/surface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl/surface.go b/sdl/surface.go index acad5454..d281ec4b 100644 --- a/sdl/surface.go +++ b/sdl/surface.go @@ -316,7 +316,7 @@ func (surface *Surface) HasColorKey() bool { return C.SDL_HasColorKey(surface.cptr()) == C.SDL_TRUE } -// GetColorKey retruns the color key (transparent pixel) for the surface. +// GetColorKey returns the color key (transparent pixel) for the surface. // (https://wiki.libsdl.org/SDL_GetColorKey) func (surface *Surface) GetColorKey() (key uint32, err error) { _key := (*C.Uint32)(unsafe.Pointer(&key))