DevIL Documentation Previous | ILU | Next

 

iluCompareImage

 

iluCompareImage compares the current image to the image having the name in Comp. If both images are identical, IL_TRUE is returned. IL_FALSE is returned if the images are not identical. The bound image before calling this function remains the bound image after calling ilCompareImage.

 

ILboolean iluCompareImage(
  ILuint Comp );


Parameters

 
Comp
The image to compare with.


Errors

 
ILU_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.

See Also

 
ilBindImages, ilGenImages,