diff options
| -rw-r--r-- | sokol_app.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h index a7e34020..4ec7ddec 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -2515,7 +2515,7 @@ _SOKOL_PRIVATE bool _sapp_image_validate(const sapp_image_desc* desc) { SOKOL_ASSERT(desc->pixels.size > 0); const size_t wh_size = (size_t)(desc->width * desc->height) * sizeof(uint32_t); if (wh_size != desc->pixels.size) { - _sapp_fail("Image data size mismatch (must be width*height*4 bytes)\n"); + SOKOL_LOG("Image data size mismatch (must be width*height*4 bytes)\n"); return false; } return true; |