mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Merge pull request #73 from RazielXYZ/master
Break out of astc image_compress error too for consistency
This commit is contained in:
@@ -204,9 +204,11 @@ namespace bimg
|
||||
if (status != ASTCENC_SUCCESS) {
|
||||
BX_TRACE("astc error in compress image %s", astcenc_get_error_string(status));
|
||||
BX_ERROR_SET(_err, BIMG_ERROR, "Unable to compress astc image!");
|
||||
astcenc_context_free(context);
|
||||
break;
|
||||
}
|
||||
|
||||
astcenc_context_free(context);
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user