Browse Source

Update Assimp.cpp

Kim Kulling 3 năm trước cách đây
mục cha
commit
4b25eb6c4b
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      code/Common/Assimp.cpp

+ 2 - 0
code/Common/Assimp.cpp

@@ -1280,7 +1280,9 @@ ASSIMP_API void aiQuaternionInterpolate(
 #   define STBI_ONLY_PNG
 #endif
 
+// Ensure all symbols are linked correctly
 #if ASSIMP_NEEDS_STB_IMAGE
+#   define STB_IMAGE_STATIC
 #   define STB_IMAGE_IMPLEMENTATION
 #   include "Common/StbCommon.h"
 #endif