Merge branch 'master' into jgrpp
# Conflicts: # src/blitter/32bpp_anim.hpp # src/blitter/32bpp_base.hpp # src/blitter/8bpp_base.hpp # src/blitter/null.hpp # src/cheat_gui.cpp # src/gfx.cpp # src/linkgraph/linkgraph.cpp # src/spriteloader/grf.cpp # src/station_cmd.cpp
This commit is contained in:
@@ -170,9 +170,9 @@ void Blitter_32bppBase::ScrollBuffer(void *video, int left, int top, int width,
|
||||
}
|
||||
}
|
||||
|
||||
int Blitter_32bppBase::BufferSize(int width, int height)
|
||||
size_t Blitter_32bppBase::BufferSize(uint width, uint height)
|
||||
{
|
||||
return width * height * sizeof(uint32);
|
||||
return sizeof(uint32) * width * height;
|
||||
}
|
||||
|
||||
void Blitter_32bppBase::PaletteAnimate(const Palette &palette)
|
||||
|
||||
Reference in New Issue
Block a user