Page 1 of 1

Palette Manipulation doesn´t work with BeginDoubleBuffer

Posted: Sat Nov 13, 2021 6:11 pm
by fingus
As the Title says, Palette Manipulations like InvertPalette, ModulatePalette..etc doesn´t work/have effect when BegindoubleBuffer was installed previously.

Re: Palette Manipulation doesn´t work with BeginDoubleBuffer

Posted: Sat Nov 20, 2021 2:49 pm
by airsoftsoftwair
Don't understand that one. InvertPalette() and ModulatePalette() operate on a palette object so calling them won't affect the current display in any way. In order to change the palette of a display, you need to call SetPalette().

Re: Palette Manipulation doesn´t work with BeginDoubleBuffer

Posted: Wed Dec 01, 2021 12:15 pm
by fingus
airsoftsoftwair wrote: Sat Nov 20, 2021 2:49 pm you need to call SetPalette().
Ok, that was the fault.