projects
/
fishladder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switched to command based rendering
[fishladder.git]
/
vg
/
vg_tex.h
diff --git
a/vg/vg_tex.h
b/vg/vg_tex.h
index e97900fed12054673ab7d5a67abe3d85661ecfa4..c757b1826a42996aa643fe51259195e5d7d66c3f 100644
(file)
--- a/
vg/vg_tex.h
+++ b/
vg/vg_tex.h
@@
-12,6
+12,13
@@
struct vg_tex2d
GLuint name;
};
+#pragma pack(push,1)
+struct vg_sprite
+{
+ u16 uvx, uvy, w, h;
+};
+#pragma pack(pop)
+
static void vg_tex2d_bind( vg_tex2d *tex, u32 id )
{
glActiveTexture( GL_TEXTURE0 + id );