mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-05 22:04:57 +00:00
(svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage()
This commit is contained in:
parent
7163c7d3ab
commit
3ccf1e1b12
@ -91,7 +91,7 @@ assert_compile(sizeof(RgbTriplet) == 3);
|
|||||||
* @param palette colour palette (for 8bpp mode)
|
* @param palette colour palette (for 8bpp mode)
|
||||||
* @return was everything ok?
|
* @return was everything ok?
|
||||||
*/
|
*/
|
||||||
static bool MakeBmpImage(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)
|
static bool MakeBMPImage(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette)
|
||||||
{
|
{
|
||||||
uint bpp; // bytes per pixel
|
uint bpp; // bytes per pixel
|
||||||
switch (pixelformat) {
|
switch (pixelformat) {
|
||||||
@ -478,7 +478,7 @@ static const ScreenshotFormat _screenshot_formats[] = {
|
|||||||
#if defined(WITH_PNG)
|
#if defined(WITH_PNG)
|
||||||
{"PNG", "png", &MakePNGImage},
|
{"PNG", "png", &MakePNGImage},
|
||||||
#endif
|
#endif
|
||||||
{"BMP", "bmp", &MakeBmpImage},
|
{"BMP", "bmp", &MakeBMPImage},
|
||||||
{"PCX", "pcx", &MakePCXImage},
|
{"PCX", "pcx", &MakePCXImage},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user