From 002e1994a162176c50fc8e4b002af392b7cd53c0 Mon Sep 17 00:00:00 2001 From: Michael Martin Date: Tue, 9 Jun 2020 15:09:21 -0700 Subject: [PATCH] Fix oscilloscope display under SDL2 --- sc2/src/uqm/oscill.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sc2/src/uqm/oscill.c b/sc2/src/uqm/oscill.c index 61ac98368..7c37b646a 100644 --- a/sc2/src/uqm/oscill.c +++ b/sc2/src/uqm/oscill.c @@ -44,6 +44,8 @@ InitOscilloscope (FRAME scopeBg) // mid-image pixel defines the color of scope lines scopeColor = GetFramePixel (scope_frame, midPt); + // insist that scope lines be purely opaque + scopeColor.a = 0xff; scopeWork = CaptureDrawable (CreateDrawable ( WANT_PIXMAP | MAPPED_TO_DISPLAY,