worked on rendering and frame ltm synching

This commit is contained in:
aap
2016-02-13 00:52:32 +01:00
parent 80a73f0ac5
commit 0e0cc1156c
8 changed files with 132 additions and 67 deletions

View File

@@ -149,7 +149,8 @@ Texture::read(const char *name, const char *mask)
}
tex = Texture::create(NULL);
strncpy(tex->name, name, 32);
strncpy(tex->mask, mask, 32);
if(mask)
strncpy(tex->mask, mask, 32);
Image *img = NULL;
if(loadTextures){
char *n = (char*)malloc(strlen(name) + 5);