diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-04 00:00:18 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-04-04 00:00:18 +0900 |
commit | ec65d1992ae2d053087cf09bc1cfe40902b236eb (patch) | |
tree | 5c3458329b559b906bd783992caa6b0974afdc37 | |
parent | fa57966e30642b437d49ad3cae73f6bde6c6f14c (diff) |
win32: LineTo with 2px width is slow on actual Windows
-rw-r--r-- | win32/oscilloview.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |