aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cairo_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-05 15:01:17 +0200
committerDavid Robillard <d@drobilla.net>2020-07-05 18:47:39 +0200
commitd70aa80d71299c24ebd71537cfd620eff2b7e50d (patch)
tree2b1606491ac1f7c6a4063549fb81f5597d0b3750 /examples/pugl_cairo_demo.c
parentabf44b129480937cd31d6585183d266a496ee2a4 (diff)
downloadpugl-d70aa80d71299c24ebd71537cfd620eff2b7e50d.tar.gz
pugl-d70aa80d71299c24ebd71537cfd620eff2b7e50d.tar.bz2
pugl-d70aa80d71299c24ebd71537cfd620eff2b7e50d.zip
Improve struct packing
Unfortunately there is no warning like Wpadded but only for internal padding, so that can't be turned on, but if there was, after this commit the build would be clean with it. Maybe some day...
Diffstat (limited to 'examples/pugl_cairo_demo.c')
-rw-r--r--examples/pugl_cairo_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c
index 2e0b9c7..5fe0661 100644
--- a/examples/pugl_cairo_demo.c
+++ b/examples/pugl_cairo_demo.c
@@ -33,8 +33,8 @@
#include <string.h>
typedef struct {
- PuglTestOptions opts;
PuglWorld* world;
+ PuglTestOptions opts;
unsigned framesDrawn;
int quit;
bool entered;