Skip to content

Commit

Permalink
Gltf Reader: use STB_IMAGE_STATIC to avoid conflicts with other libs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed May 9, 2024
1 parent cd67f6f commit 409f55d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CesiumGltfReader/src/GltfReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ namespace Cesium {
#undef STBIRDEF
}; // namespace Cesium

#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <turbojpeg.h>
Expand Down

0 comments on commit 409f55d

Please sign in to comment.