summaryrefslogtreecommitdiff
path: root/dxr3osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3osd.c')
-rw-r--r--dxr3osd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dxr3osd.c b/dxr3osd.c
index bfa415e..578156f 100644
--- a/dxr3osd.c
+++ b/dxr3osd.c
@@ -226,10 +226,10 @@ void cDxr3Osd::Flush()
// replace color palette
mergedBitmap->Replace(*Palette);
- }
- if (!bmap)
- return;
+ // set pointer to our valid mergedBitmap
+ bmap = mergedBitmap;
+ }
// encode bitmap
if (bmap->Dirty(x1, y1, x2, y2)) {