Skip to content

Commit

Permalink
sdl/surface: fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Lilis Iskandar <[email protected]>
  • Loading branch information
veeableful committed Jan 18, 2020
1 parent 5af4acb commit 7616d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdl/surface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7616d87

Please sign in to comment.