From 7bfed660202401ef16730495e688ba4502c9b8ad Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Apr 2012 19:28:11 +0000 Subject: Process events for our window only. --- pugl/pugl_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pugl/pugl_win.cpp') diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index a9641ad..a6b604f 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -215,7 +215,7 @@ puglProcessEvents(PuglView* view) int button; bool down = true; PuglKey key; - while (PeekMessage(&msg, /*view->impl->hwnd*/0, 0, 0, PM_REMOVE)) { + while (PeekMessage(&msg, view->impl->hwnd, 0, 0, PM_REMOVE)) { setModifiers(view); switch (msg.message) { case WM_CREATE: -- cgit v1.2.1