Assimp map mode is not initialized before use.

This commit is contained in:
K. S. Ernest (iFire) Lee 2019-09-03 09:29:51 -07:00
parent 5323d24fad
commit 1094522d76

View file

@ -79,7 +79,7 @@ struct ImportState {
struct AssimpImageData {
Ref<Image> raw_image;
Ref<ImageTexture> texture;
aiTextureMapMode *map_mode = NULL;
aiTextureMapMode map_mode[2];
};
/** Recursive state is used to push state into functions instead of specifying them