Fix ymax in GROUP bounding box
[ipdf/code.git] / src / view.h
index 5e30ef7..e4254de 100644 (file)
@@ -48,10 +48,10 @@ namespace IPDF
                        {
                                float x0, y0;
                                float x1, y1;
-                       };
+                       } __attribute__((packed));
 
                        void PrepareRender(); // call when m_render_dirty is true
-                       void UpdateObjBoundsVBO(); // call when m_buffer_dirty is true
+                       void UpdateObjBoundsVBO(unsigned first_obj, unsigned last_obj); // call when m_buffer_dirty is true
 
                        void RenderRange(int width, int height, unsigned first_obj, unsigned last_obj);
 

UCC git Repository :: git.ucc.asn.au