diff --git a/src/dispdrivers/vgapalettedcontroller.h b/src/dispdrivers/vgapalettedcontroller.h index 81621d5ac..63355b2ae 100644 --- a/src/dispdrivers/vgapalettedcontroller.h +++ b/src/dispdrivers/vgapalettedcontroller.h @@ -107,6 +107,8 @@ class VGAPalettedController : public VGABaseController { // abstract method of BitmappedDisplayController NativePixelFormat nativePixelFormat() { return m_nativePixelFormat; } + // Should be called after the palette is updated. + void updateRGB2PaletteLUT(); protected: @@ -114,7 +116,6 @@ class VGAPalettedController : public VGABaseController { virtual void setupDefaultPalette() = 0; - void updateRGB2PaletteLUT(); void calculateAvailableCyclesForDrawings(); static void primitiveExecTask(void * arg);