IsTextureReady has been renamed

This commit is contained in:
JupiterRider 2024-11-24 14:44:41 +01:00
parent d81d956c18
commit dbf9ed2bff
2 changed files with 8 additions and 8 deletions

View file

@ -200,10 +200,10 @@ func UnloadImage(image *Image) {
C.UnloadImage(*cimage)
}
// IsTextureReady - Check if a texture is ready
func IsTextureReady(texture Texture2D) bool {
// IsTextureValid - Check if a texture is valid (loaded in GPU)
func IsTextureValid(texture Texture2D) bool {
ctexture := texture.cptr()
ret := C.IsTextureReady(*ctexture)
ret := C.IsTextureValid(*ctexture)
v := bool(ret)
return v
}