PARALLACTION: Pass big value by reference rather than copying. CID 1003923

This commit is contained in:
Eugene Sandulenko 2013-11-03 12:03:12 +02:00
parent c24ba381cb
commit 18b7c5fd9c
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@ void Palette::rotate(uint first, uint last, bool forward) {
void Gfx::setPalette(Palette pal) {
void Gfx::setPalette(Palette &pal) {
byte sysPal[256*3];
uint n = pal.fillRGB(sysPal);

View File

@ -465,7 +465,7 @@ public:
void invertBackground(const Common::Rect& r);
// palette
void setPalette(Palette palette);
void setPalette(Palette &palette);
void setBlackPalette();
void animatePalette();