Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to #109
diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp
index 252b8b6..0078988 100644
--- a/examples/directx11_example/main.cpp
+++ b/examples/directx11_example/main.cpp
@@ -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"
diff --git a/examples/opengl3_example/main.cpp b/examples/opengl3_example/main.cpp
index 6617b4c..7644d4d 100644
--- a/examples/opengl3_example/main.cpp
+++ b/examples/opengl3_example/main.cpp
@@ -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
diff --git a/examples/opengl_example/main.cpp b/examples/opengl_example/main.cpp
index 34dd1da..f755d59 100644
--- a/examples/opengl_example/main.cpp
+++ b/examples/opengl_example/main.cpp
@@ -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