mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fix 2 compiler warnings
This commit is contained in:
@@ -88,7 +88,7 @@ namespace devil
|
||||
// Bind the image.
|
||||
ilBindImage(image);
|
||||
|
||||
bool success = ilTexImage(width, height, 1, bpp, IL_RGBA, IL_UNSIGNED_BYTE, 0);
|
||||
bool success = (ilTexImage(width, height, 1, bpp, IL_RGBA, IL_UNSIGNED_BYTE, 0) == IL_TRUE);
|
||||
int err = ilGetError();
|
||||
if (err != IL_NO_ERROR){
|
||||
switch (err) {
|
||||
|
||||
Reference in New Issue
Block a user