update_ex working on iOS

This commit is contained in:
Carlos Aragones
2020-09-15 21:05:49 +02:00
parent f4c537d6f0
commit 5f9594cb23
6 changed files with 35 additions and 6 deletions

View File

@ -74,7 +74,7 @@ resize(struct mfb_window *window, int width, int height) {
}
}
mfb_update_state state = mfb_update(g_window, g_buffer);
mfb_update_state state = mfb_update_ex(g_window, g_buffer, g_width, g_height);
if (state != STATE_OK) {
free(g_buffer);
g_buffer = 0x0;