diff options
author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2019-09-03 09:29:51 -0700 |
---|---|---|
committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2019-09-03 10:11:03 -0700 |
commit | 1094522d7616ef2c858a6475816a5e38b0a241da (patch) | |
tree | 8e339ef96301ca0d9911f5cad9621b8afb2a10fd | |
parent | 5323d24fadadbc6c4a109a9848fd9c3ea08f4474 (diff) |
Assimp map mode is not initialized before use.
-rw-r--r-- | modules/assimp/import_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/assimp/import_state.h b/modules/assimp/import_state.h index 8d82cd3e39..56d89ffea7 100644 --- a/modules/assimp/import_state.h +++ b/modules/assimp/import_state.h @@ -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 |