aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-10-29 11:53:58 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-10-29 11:53:58 +0200
commit0361919d84ddb24f9c7624f849e05de5cfe8ae57 (patch)
tree078d0b908fe93dc7b67b7498631d636d7aa39004
parent38fab74452bd06732b1b4fc6213b8cca62718d9d (diff)
Properly reset view->redisplay on windows
-rw-r--r--pugl/pugl_win.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index 874abba..83d4474 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -598,6 +598,7 @@ puglProcessEvents(PuglView* view)
if (view->redisplay) {
InvalidateRect(view->impl->hwnd, NULL, FALSE);
+ view->redisplay = false;
}
return PUGL_SUCCESS;