summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxr3osd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dxr3osd.c b/dxr3osd.c
index 39929b9..9573d62 100644
--- a/dxr3osd.c
+++ b/dxr3osd.c
@@ -140,6 +140,9 @@ void cDxr3Osd::Flush()
// we only need to set bmap pointer to a valid bitmap
bmap = GetBitmap(0);
+ // set global used palette - is needed if we need to scale the osd
+ Palette->Replace(*bmap);
+
} else {
// determine the palette used by all bitmaps