diff options
author | rodri <rgl@antares-labs.eu> | 2024-09-27 20:58:01 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-09-27 20:58:01 +0000 |
commit | cdfd05b4e5b4ffedae1a4fffa46f1217a88d09ee (patch) | |
tree | 3ede2d2c9d05f04daa64c0deb542cd1b2e6ce0b9 /texture.c | |
parent | 50d107f27c8ee8980693f54d0fadbdd641516e2a (diff) | |
download | libgraphics-cdfd05b4e5b4ffedae1a4fffa46f1217a88d09ee.tar.gz libgraphics-cdfd05b4e5b4ffedae1a4fffa46f1217a88d09ee.tar.bz2 libgraphics-cdfd05b4e5b4ffedae1a4fffa46f1217a88d09ee.zip |
implement exportmodel(2).
this writes a model and its assets into a directory.
Diffstat (limited to 'texture.c')
-rw-r--r-- | texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -124,6 +124,7 @@ alloctexture(int type, Memimage *i) Texture *t; t = emalloc(sizeof *t); + memset(t, 0, sizeof *t); t->image = i; t->type = type; return t; |