From ab039812e7d0a0202317c61a2cb64874e4d0c410 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 7 Feb 2011 17:52:38 +0000 Subject: COMMON: OSystem now has a PaletteManager svn-id: r55806 --- graphics/scaler/thumbnail_intern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/scaler/thumbnail_intern.cpp') diff --git a/graphics/scaler/thumbnail_intern.cpp b/graphics/scaler/thumbnail_intern.cpp index f767c91bd5..bd325aca63 100644 --- a/graphics/scaler/thumbnail_intern.cpp +++ b/graphics/scaler/thumbnail_intern.cpp @@ -110,7 +110,7 @@ static bool grabScreen565(Graphics::Surface *surf) { if (screenFormat.bytesPerPixel == 1) { palette = new byte[256 * 4]; assert(palette); - g_system->grabPalette(palette, 0, 256); + g_system->getPaletteManager()->grabPalette(palette, 0, 256); } for (uint y = 0; y < screen->h; ++y) { -- cgit v1.2.3