git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-fix QuadTree GPU rendering, discard groups
[ipdf/code.git]
/
src
/
view.h
diff --git
a/src/view.h
b/src/view.h
index
5e30ef7
..
e4254de
100644
(file)
--- a/
src/view.h
+++ b/
src/view.h
@@
-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