mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 09:44:35 +00:00 
			
		
		
		
	migration: replace SDL_DisplayMode w and h by screen_w and screen_h
This commit is contained in:
		@@ -2334,3 +2334,23 @@ expression e;
 | 
			
		||||
@@
 | 
			
		||||
- SDL_WINDOW_INPUT_GRABBED
 | 
			
		||||
+ SDL_WINDOW_MOUSE_GRABBED
 | 
			
		||||
@@
 | 
			
		||||
SDL_DisplayMode *e;
 | 
			
		||||
@@
 | 
			
		||||
(
 | 
			
		||||
- e->w
 | 
			
		||||
+ e->screen_w
 | 
			
		||||
|
 | 
			
		||||
- e->h
 | 
			
		||||
+ e->screen_h
 | 
			
		||||
)
 | 
			
		||||
@@
 | 
			
		||||
SDL_DisplayMode e;
 | 
			
		||||
@@
 | 
			
		||||
(
 | 
			
		||||
- e.w
 | 
			
		||||
+ e.screen_w
 | 
			
		||||
|
 | 
			
		||||
- e.h
 | 
			
		||||
+ e.screen_h
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user