From 02f230d5e6849552daedcb75f4655c66fe8f57df Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Jul 2020 11:22:54 +0200 Subject: Remove count field from PuglEventExpose This was never particularly useful, and it makes no sense with the new drawing model, even on X11, so its presence just adds confusion. So, remove it, which also conveniently fixes a padding warning in PuglEventExpose. --- pugl/detail/win.c | 1 - 1 file changed, 1 deletion(-) (limited to 'pugl/detail/win.c') diff --git a/pugl/detail/win.c b/pugl/detail/win.c index e06f021..38f2615 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -612,7 +612,6 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) event.expose.y = rect.top; event.expose.width = rect.right - rect.left; event.expose.height = rect.bottom - rect.top; - event.expose.count = 0; break; case WM_ERASEBKGND: return true; -- cgit v1.2.1