Skip to content

Commit

Permalink
[hio] Don't export stbimage functions for linkage with things that ma…
Browse files Browse the repository at this point in the history
…y also use stbimage.
  • Loading branch information
jermainedupris committed Apr 15, 2021
1 parent 27f3d17 commit aa7f517
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pxr/imaging/hio/stbImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,15 @@
#include "pxr/base/tf/stringUtils.h"
#include "pxr/base/tf/type.h"

#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include "pxr/imaging/hio/stb/stb_image.h"

#define STB_IMAGE_RESIZE_STATIC
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include "pxr/imaging/hio/stb/stb_image_resize.h"

#define STB_IMAGE_WRITE_STATIC
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "pxr/imaging/hio/stb/stb_image_write.h"

Expand Down

0 comments on commit aa7f517

Please sign in to comment.