Fix oscilloscope display under SDL2

This commit is contained in:
Michael Martin
2020-06-09 15:09:21 -07:00
parent 044aa342ae
commit 002e1994a1
+2
View File
@@ -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,