(svn r6068) -Codechange: Switch PNG and BMP priority for screenshots. This ensures PNG is used by default when available. (hylje)
This commit is contained in:
		@@ -416,10 +416,10 @@ static bool MakePCXImage(const char *name, ScreenshotCallback *callb, void *user
 | 
				
			|||||||
//************************************************
 | 
					//************************************************
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const ScreenshotFormat _screenshot_formats[] = {
 | 
					static const ScreenshotFormat _screenshot_formats[] = {
 | 
				
			||||||
	{"BMP", "bmp", &MakeBmpImage},
 | 
					 | 
				
			||||||
#if defined(WITH_PNG)
 | 
					#if defined(WITH_PNG)
 | 
				
			||||||
	{"PNG", "png", &MakePNGImage},
 | 
						{"PNG", "png", &MakePNGImage},
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
						{"BMP", "bmp", &MakeBmpImage},
 | 
				
			||||||
	{"PCX", "pcx", &MakePCXImage},
 | 
						{"PCX", "pcx", &MakePCXImage},
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user