aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-09 21:49:51 +0100
committerDavid Robillard <d@drobilla.net>2020-03-09 21:49:51 +0100
commitbe8ed18c668c3afa7f7690478402c4177764e599 (patch)
tree972a7b2869169ef23dc2fa020c44b5d7040a67c8 /pugl
parent947703d7b0303c0afacc8d61ad145806b44e3af6 (diff)
downloadpugl-be8ed18c668c3afa7f7690478402c4177764e599.tar.gz
pugl-be8ed18c668c3afa7f7690478402c4177764e599.tar.bz2
pugl-be8ed18c668c3afa7f7690478402c4177764e599.zip
Windows: Remove unused stores of rect
Diffstat (limited to 'pugl')
-rw-r--r--pugl/detail/win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index e915343..2f10ff1 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -552,12 +552,12 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam)
switch (message) {
case WM_SHOWWINDOW:
- rect = handleConfigure(view, &event);
+ handleConfigure(view, &event);
RedrawWindow(view->impl->hwnd, NULL, NULL,
RDW_INVALIDATE|RDW_ALLCHILDREN|RDW_INTERNALPAINT);
break;
case WM_SIZE:
- rect = handleConfigure(view, &event);
+ handleConfigure(view, &event);
InvalidateRect(view->impl->hwnd, NULL, false);
break;
case WM_SIZING: