mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 14:45:00 +00:00 
			
		
		
		
	Fixed warnings about shadowed global variable.
Found by buildbot.
This commit is contained in:
		
							parent
							
								
									87e0d812dd
								
							
						
					
					
						commit
						ce01128adf
					
				| 
						 | 
					@ -3872,8 +3872,6 @@ void SDL_OnApplicationDidReceiveMemoryWarning()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void SDL_OnApplicationWillResignActive()
 | 
					void SDL_OnApplicationWillResignActive()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    SDL_VideoDevice *_this = SDL_GetVideoDevice();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    if (_this) {
 | 
					    if (_this) {
 | 
				
			||||||
        SDL_Window *window;
 | 
					        SDL_Window *window;
 | 
				
			||||||
        for (window = _this->windows; window != NULL; window = window->next) {
 | 
					        for (window = _this->windows; window != NULL; window = window->next) {
 | 
				
			||||||
| 
						 | 
					@ -3896,8 +3894,6 @@ void SDL_OnApplicationWillEnterForeground()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void SDL_OnApplicationDidBecomeActive()
 | 
					void SDL_OnApplicationDidBecomeActive()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    SDL_VideoDevice *_this = SDL_GetVideoDevice();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);
 | 
					    SDL_SendAppEvent(SDL_APP_DIDENTERFOREGROUND);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (_this) {
 | 
					    if (_this) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue