From e28becbaf5ff19c4ff0a7487874c8ec8442c6a25 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 31 May 2022 19:17:08 +0200 Subject: [PATCH] Update Assimp.cpp --- code/Common/Assimp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/Common/Assimp.cpp b/code/Common/Assimp.cpp index 4875cdac7..10cfe7902 100644 --- a/code/Common/Assimp.cpp +++ b/code/Common/Assimp.cpp @@ -1282,6 +1282,8 @@ ASSIMP_API void aiQuaternionInterpolate( // Ensure all symbols are linked correctly #if ASSIMP_NEEDS_STB_IMAGE + // Share stb_image's PNG loader with other importers/exporters instead of bringing our own copy. +# define STBI_ONLY_PNG # define STB_IMAGE_STATIC # define STB_IMAGE_IMPLEMENTATION # include "Common/StbCommon.h"