diff options
author | David Robillard <d@drobilla.net> | 2020-07-05 15:01:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-05 18:47:39 +0200 |
commit | d70aa80d71299c24ebd71537cfd620eff2b7e50d (patch) | |
tree | 2b1606491ac1f7c6a4063549fb81f5597d0b3750 /examples/pugl_window_demo.c | |
parent | abf44b129480937cd31d6585183d266a496ee2a4 (diff) |
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_window_demo.c')
-rw-r--r-- | examples/pugl_window_demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c index 9343c9c..f326f21 100644 --- a/examples/pugl_window_demo.c +++ b/examples/pugl_window_demo.c @@ -34,18 +34,18 @@ typedef struct { PuglView* view; double xAngle; double yAngle; - float dist; double lastMouseX; double lastMouseY; double lastDrawTime; + float dist; bool entered; } CubeView; typedef struct { PuglWorld* world; CubeView cubes[2]; - bool continuous; int quit; + bool continuous; bool verbose; } PuglTestApp; |