TONY: Fix parameter to RMGfxSourceBuffer8RLEWordAA::init()
The method it is meant to override uses "const byte *buf" so this one should too. I don't know if/when it's called, but fuzzie tells me it should be a harmless change. Hopefully fixes CID 1003892.
This commit is contained in:
parent
71ed35502e
commit
c44d6ae60c
2 changed files with 3 additions and 2 deletions
|
@ -1865,7 +1865,8 @@ void RMGfxSourceBuffer8RLEWordAA::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RM
|
|||
CORO_END_CODE;
|
||||
}
|
||||
|
||||
int RMGfxSourceBuffer8RLEWordAA::init(byte *buf, int dimx, int dimy, bool bLoadPalette) {
|
||||
int RMGfxSourceBuffer8RLEWordAA::init(const byte *buf, int dimx, int dimy, bool bLoadPalette) {
|
||||
debug("Hello!!!");
|
||||
return RMGfxSourceBuffer8RLE::init(buf, dimx, dimy, bLoadPalette);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue