Fix oscilloscope display under SDL2
This commit is contained in:
@@ -44,6 +44,8 @@ InitOscilloscope (FRAME scopeBg)
|
|||||||
|
|
||||||
// mid-image pixel defines the color of scope lines
|
// mid-image pixel defines the color of scope lines
|
||||||
scopeColor = GetFramePixel (scope_frame, midPt);
|
scopeColor = GetFramePixel (scope_frame, midPt);
|
||||||
|
// insist that scope lines be purely opaque
|
||||||
|
scopeColor.a = 0xff;
|
||||||
|
|
||||||
scopeWork = CaptureDrawable (CreateDrawable (
|
scopeWork = CaptureDrawable (CreateDrawable (
|
||||||
WANT_PIXMAP | MAPPED_TO_DISPLAY,
|
WANT_PIXMAP | MAPPED_TO_DISPLAY,
|
||||||
|
|||||||
Reference in New Issue
Block a user