mirror of https://github.com/OpenTTD/OpenTTD
(svn r6068) -Codechange: Switch PNG and BMP priority for screenshots. This ensures PNG is used by default when available. (hylje)
parent
bdc91f54d7
commit
dc5c55a819
|
@ -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},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue