aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-04-04 00:00:18 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-04-04 00:00:18 +0900
commitec65d1992ae2d053087cf09bc1cfe40902b236eb (patch)
tree5c3458329b559b906bd783992caa6b0974afdc37 /win32
parentfa57966e30642b437d49ad3cae73f6bde6c6f14c (diff)
win32: LineTo with 2px width is slow on actual Windows
Diffstat (limited to 'win32')
-rw-r--r--win32/oscilloview.c2
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);