From ec65d1992ae2d053087cf09bc1cfe40902b236eb Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Tue, 4 Apr 2017 00:00:18 +0900 Subject: win32: LineTo with 2px width is slow on actual Windows --- win32/oscilloview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/oscilloview.c b/win32/oscilloview.c index 12851f4..3414cd4 100644 --- a/win32/oscilloview.c +++ b/win32/oscilloview.c @@ -42,7 +42,7 @@ static void CALLBACK mmtimer_cb(UINT timerid, UINT msg, } static bool on_create(HWND hwnd, const CREATESTRUCT *cs) { - g.whitepen = CreatePen(PS_SOLID, 2, RGB(255, 255, 255)); + g.whitepen = CreatePen(PS_SOLID, 1, RGB(255, 255, 255)); ShowWindow(hwnd, SW_SHOW); //SetTimer(hwnd, TIMER_UPDATE, 16, 0); g.mmtimer = timeSetEvent(16, 16, mmtimer_cb, 0, TIME_PERIODIC); -- cgit v1.2.3