X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fview.h;h=e4254de0e52eb5f5ec5cba5b3ca6dfb0a09b5f54;hp=ec5e97f9a66191cae7f15b7260ebf9c5dec42d80;hb=84fa5d1b2504a3fe14554d6f175dd387e5b672b4;hpb=e56f97a8a7ec25c86aeb6f596ee07853afaf3932 diff --git a/src/view.h b/src/view.h index ec5e97f..e4254de 100644 --- a/src/view.h +++ b/src/view.h @@ -48,7 +48,7 @@ namespace IPDF { float x0, y0; float x1, y1; - }; + } __attribute__((packed)); void PrepareRender(); // call when m_render_dirty is true void UpdateObjBoundsVBO(unsigned first_obj, unsigned last_obj); // call when m_buffer_dirty is true