According to the DevIL API docs,¹ any error from `ilTexImage` is reported via
`ilGetError`, not through its return value. Squashes a -Wunused-but-set-variable
warning.
¹ https://www-f9.ijs.si/~matevz/docs/DevIL/il/f00059.htm
{
ILuint ImgId;
ILenum Error;
- ILboolean rc;
// Check if the shared lib's version matches the executable's version.
if (ilGetInteger(IL_VERSION_NUM) < IL_VERSION ||
Y_inv ( job->width, job->height, job->imagedata );
// let the DevIL do its thing
- rc = ilTexImage( job->width, job->height,
+ (void)ilTexImage(job->width, job->height,
1, // Depth
4, // Bpp
IL_BGRA, // Format