IsImageReady() is now IsImageValid()
This commit is contained in:
parent
05860b8650
commit
873552f31a
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue