GRAPHICS: Add a getPalette method to ManagedSurface

This commit is contained in:
Paul Gilbert 2020-03-10 22:26:39 -07:00 committed by Paul Gilbert
parent 2672e5eb5b
commit 914fad839d

View File

@ -506,6 +506,13 @@ public:
_paletteSet = false;
}
/**
* Gets the palette array
*/
const uint32 *getPalette() const {
return _palette;
}
/**
* Sets the palette using RGB tuplets
*/