From e40f14f10681853756b2bf34c92474528e9de364 Mon Sep 17 00:00:00 2001
From: Tibor Nagy <xnagytibor@gmail.com>
Date: Mon, 30 Apr 2018 00:17:17 +0200
Subject: [PATCH] Fix resize flag

---
 recipes/sdl/01_orbital.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/sdl/01_orbital.patch b/recipes/sdl/01_orbital.patch
index 2d4216f89..25fae0d18 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);
-- 
GitLab