IsImageReady() is now IsImageValid()

This commit is contained in:
JupiterRider 2024-11-23 21:43:16 +01:00
parent 05860b8650
commit 873552f31a
2 changed files with 8 additions and 8 deletions

View file

@ -139,10 +139,10 @@ func LoadImageFromScreen() *Image {
return v
}
// IsImageReady - Check if an image is ready
func IsImageReady(image *Image) bool {
// IsImageValid - Check if an image is valid (data and parameters)
func IsImageValid(image *Image) bool {
cimage := image.cptr()
ret := C.IsImageReady(*cimage)
ret := C.IsImageValid(*cimage)
v := bool(ret)
return v
}