aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-04-09 19:06:32 +0200
committerAndre Weissflog <floooh@gmail.com>2021-04-09 19:06:32 +0200
commit82e43b91117e2dcd44e997d67e264090fa70f423 (patch)
tree8c1b6c203e2171b97eb7e25cc000a601f22da6bb
parent2c05e244e48a032676d22e2c1a33399b31a02f84 (diff)
sokol_app.h: replace _sapp_fail() with SOKOL_LOG in _sapp_image_validate()
-rw-r--r--sokol_app.h2
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;