mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 01:34:38 +00:00 
			
		
		
		
	testoffscreen: fix '<': signed/unsigned mismatch
Emitted by MSVC
This commit is contained in:
		
				
					committed by
					
						
						Anonymous Maarten
					
				
			
			
				
	
			
			
			
						parent
						
							7a7980fafa
						
					
				
				
					commit
					02b200ef08
				
			@@ -30,7 +30,7 @@ static int done = SDL_FALSE;
 | 
			
		||||
static int frame_number = 0;
 | 
			
		||||
static int width = 640;
 | 
			
		||||
static int height = 480;
 | 
			
		||||
static int max_frames = 200;
 | 
			
		||||
static unsigned int max_frames = 200;
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
draw()
 | 
			
		||||
@@ -140,7 +140,7 @@ main(int argc, char *argv[])
 | 
			
		||||
    then = SDL_GetTicks();
 | 
			
		||||
    done = 0;
 | 
			
		||||
 | 
			
		||||
    SDL_Log("Rendering %i frames offscreen\n", max_frames);
 | 
			
		||||
    SDL_Log("Rendering %u frames offscreen\n", max_frames);
 | 
			
		||||
 | 
			
		||||
#ifdef __EMSCRIPTEN__
 | 
			
		||||
    emscripten_set_main_loop(loop, 0, 1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user