diff --git a/recipes/sdl/01_orbital.patch b/recipes/sdl/01_orbital.patch index 2d4216f89d234a4906c6aee7c5a75ab235801231..25fae0d188739622cf19bad3791ea32940cf254e 100644 --- a/recipes/sdl/01_orbital.patch +++ b/recipes/sdl/01_orbital.patch @@ -540,11 +540,11 @@ diff -rupNw source-original/src/video/orbital/SDL_orbitalvideo.c source/src/vide + if (this->hidden->window) { + orb_window_set_size(this->hidden->window, width, height); + } else { -+ uint32_t flags = ORB_WINDOW_ASYNC; ++ uint32_t orb_flags = ORB_WINDOW_ASYNC; + if (flags & SDL_RESIZABLE) -+ flags |= ORB_WINDOW_RESIZABLE; ++ orb_flags |= ORB_WINDOW_RESIZABLE; + -+ this->hidden->window = orb_window_new_flags(-1, -1, width, height, "SDL", flags); ++ this->hidden->window = orb_window_new_flags(-1, -1, width, height, "SDL", orb_flags); + if (!this->hidden->window) { + SDL_SetError("Couldn't create window for requested mode"); + return(NULL);