1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 02:00:58 +01:00

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

This commit is contained in:
ocornut 2015-01-06 17:35:36 +00:00
parent 98a38e24ab
commit 1c657564ac
3 changed files with 3 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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