diff options
| author | Rob Tsuk <robtsuk@google.com> | 2015-01-22 12:46:31 -0800 |
|---|---|---|
| committer | Rob Tsuk <robtsuk@google.com> | 2015-01-22 13:53:42 -0800 |
| commit | a9fc9b20da43b0e5d01b10097d6f2e6fafcd6626 (patch) | |
| tree | 48e9911ba1dfad247eb76134a6a4c72994960a8c /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | e1f183d01be8893bfb686731fd00156c6c45c15e (diff) | |
Ensure compatible layout for vertices
Require that these structs have standard layout, which is what we need
to pass them to OpenGL. Inheritence with data members violates the
rules for standard layout so I re-implemented them using templates to
share the code and putting all the data members in each struct.
Change-Id: I19cd0e5518728f2d3e0993b17d15fce7be7e0edb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
