IsFontReady has been renamed

This commit is contained in:
JupiterRider 2024-11-24 15:21:12 +01:00
parent 9d16da4548
commit 1d2d8d9350
2 changed files with 8 additions and 8 deletions

View file

@ -92,10 +92,10 @@ func LoadFontFromMemory(fileType string, fileData []byte, fontSize int32, codepo
return v
}
// IsFontReady - Check if a font is ready
func IsFontReady(font Font) bool {
// IsFontValid - Check if a font is valid (font data loaded, WARNING: GPU texture not checked)
func IsFontValid(font Font) bool {
cfont := font.cptr()
ret := C.IsFontReady(*cfont)
ret := C.IsFontValid(*cfont)
v := bool(ret)
return v
}