Fix wrong palette being used when switching to animated blitter.
Fixes black sprites and UI elements when switching on full animations on win32 and OSX.
This commit is contained in:
@@ -31,7 +31,9 @@ public:
|
|||||||
anim_buf_width(0),
|
anim_buf_width(0),
|
||||||
anim_buf_pitch(0),
|
anim_buf_pitch(0),
|
||||||
anim_buf_height(0)
|
anim_buf_height(0)
|
||||||
{}
|
{
|
||||||
|
this->palette = _cur_palette;
|
||||||
|
}
|
||||||
|
|
||||||
~Blitter_32bppAnim();
|
~Blitter_32bppAnim();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user