ColorToInt() comment updated

This commit is contained in:
JupiterRider 2024-11-24 14:49:41 +01:00
parent 36259e95a7
commit 090dbf62ef
2 changed files with 2 additions and 2 deletions

View file

@ -765,7 +765,7 @@ func Fade(col color.RGBA, alpha float32) color.RGBA {
return v
}
// ColorToInt - Returns hexadecimal value for a Color
// ColorToInt - Get hexadecimal value for a Color (0xRRGGBBAA)
func ColorToInt(col color.RGBA) int32 {
ccolor := colorCptr(col)
ret := C.ColorToInt(*ccolor)