Display and control your Android device
Allow window position or size setting to fail
Romain Vimontdc5dba515b30
diff --git a/app/src/util/sdl.c b/app/src/util/sdl.cindex 84ce357d..858a2563 100644--- a/app/src/util/sdl.c+++ b/app/src/util/sdl.c@@ -79,8 +79,7 @@ voidsc_sdl_set_window_size(SDL_Window *window, struct sc_size size) {bool ok = SDL_SetWindowSize(window, size.width, size.height);if (!ok) {- LOGE("Could not set window size: %s", SDL_GetError());- assert(!"unexpected");+ LOGD("Could not set window size: %s", SDL_GetError());}}@@ -107,8 +106,7 @@ voidsc_sdl_set_window_position(SDL_Window *window, struct sc_point point) {bool ok = SDL_SetWindowPosition(window, point.x, point.y);if (!ok) {- LOGE("Could not set window position: %s", SDL_GetError());- assert(!"unexpected");+ LOGD("Could not set window position: %s", SDL_GetError());}}