mirror of
				https://github.com/encounter/SDL.git
				synced 2025-10-25 19:20:25 +00:00 
			
		
		
		
	Fixed window losing the SDL_WINDOW_FOREIGN flag if something tries to recreate it.
This commit is contained in:
		
							parent
							
								
									2dacb60bbb
								
							
						
					
					
						commit
						5439f9dd87
					
				| @ -1398,6 +1398,9 @@ SDL_RecreateWindow(SDL_Window * window, Uint32 flags) | ||||
|             return -1; | ||||
|         } | ||||
|     } | ||||
|     if (flags & SDL_WINDOW_FOREIGN) { | ||||
|         window->flags |= SDL_WINDOW_FOREIGN; | ||||
|     } | ||||
| 
 | ||||
|     if (title) { | ||||
|         SDL_SetWindowTitle(window, title); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user