mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
PARALLACTION: Pass big value by reference rather than copying. CID 1003923
This commit is contained in:
parent
c24ba381cb
commit
18b7c5fd9c
@ -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);
|
||||
|
@ -465,7 +465,7 @@ public:
|
||||
void invertBackground(const Common::Rect& r);
|
||||
|
||||
// palette
|
||||
void setPalette(Palette palette);
|
||||
void setPalette(Palette &palette);
|
||||
void setBlackPalette();
|
||||
void animatePalette();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user