aboutsummaryrefslogtreecommitdiff
path: root/backends/modular-backend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/modular-backend.cpp')
-rw-r--r--backends/modular-backend.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/backends/modular-backend.cpp b/backends/modular-backend.cpp
index df3d631007..52edcebd24 100644
--- a/backends/modular-backend.cpp
+++ b/backends/modular-backend.cpp
@@ -132,12 +132,8 @@ int16 ModularBackend::getWidth() {
return _graphicsManager->getWidth();
}
-void ModularBackend::setPalette(const byte *colors, uint start, uint num) {
- _graphicsManager->setPalette(colors, start, num);
-}
-
-void ModularBackend::grabPalette(byte *colors, uint start, uint num) {
- _graphicsManager->grabPalette(colors, start, num);
+PaletteManager *ModularBackend::getPaletteManager() {
+ return _graphicsManager;
}
void ModularBackend::copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h) {