some texture fixes

This commit is contained in:
aap
2016-08-05 01:13:41 +02:00
parent a980b32e67
commit 2cd032a79e
5 changed files with 15 additions and 13 deletions

View File

@@ -635,8 +635,6 @@ Material::streamRead(Stream *stream)
goto fail;
}
Texture *t = Texture::streamRead(stream);
if(t == nil)
goto fail;
mat->setTexture(t);
}