mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-07 10:48:43 +00:00
GRAPHICS: Add a getPalette method to ManagedSurface
This commit is contained in:
parent
2672e5eb5b
commit
914fad839d
@ -506,6 +506,13 @@ public:
|
||||
_paletteSet = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the palette array
|
||||
*/
|
||||
const uint32 *getPalette() const {
|
||||
return _palette;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the palette using RGB tuplets
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user