aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac.m
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 11:22:54 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 15:00:27 +0200
commit02f230d5e6849552daedcb75f4655c66fe8f57df (patch)
tree84166be64827cbb79f25ac820328c72085c0fcbe /pugl/detail/mac.m
parent72ffadb20144304b376cc7fef267aeb9db8171de (diff)
downloadpugl-02f230d5e6849552daedcb75f4655c66fe8f57df.tar.gz
pugl-02f230d5e6849552daedcb75f4655c66fe8f57df.tar.bz2
pugl-02f230d5e6849552daedcb75f4655c66fe8f57df.zip
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.
Diffstat (limited to 'pugl/detail/mac.m')
-rw-r--r--pugl/detail/mac.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/mac.m b/pugl/detail/mac.m
index 774cae1..6ede4f8 100644
--- a/pugl/detail/mac.m
+++ b/pugl/detail/mac.m
@@ -225,7 +225,6 @@ updateViewRect(PuglView* view)
rect.origin.y * scaleFactor,
rect.size.width * scaleFactor,
rect.size.height * scaleFactor,
- 0
};
puglDispatchEvent(puglview, (const PuglEvent*)&ev);