Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to #109

docking
ocornut 10 years ago
parent 98a38e24ab
commit 1c657564ac

@ -1,6 +1,7 @@
// ImGui - standalone example application for DirectX 11
#include <windows.h>
#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include "../shared/stb_image.h" // for .png loading
#include "../../imgui.h"

@ -5,6 +5,7 @@
#endif
#include "../../imgui.h"
#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include "../shared/stb_image.h" // stb_image.h for PNG loading

@ -5,6 +5,7 @@
#endif
#include "../../imgui.h"
#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include "../shared/stb_image.h" // stb_image.h for PNG loading

Loading…
Cancel
Save