Merge pull request #133 from Ybalrid/lodepng

fix ci build of example
diff --git a/examples/raytrace/img-loaders.cc b/examples/raytrace/img-loaders.cc
new file mode 100644
index 0000000..baa2b28
--- /dev/null
+++ b/examples/raytrace/img-loaders.cc
@@ -0,0 +1,5 @@
+
+#define STB_IMAGE_IMPLEMENTATION
+#include "stb_image.h"
+#define LODEPNG_IMPLEMENTATION
+#include "lodepng.h"
diff --git a/examples/raytrace/premake5.lua b/examples/raytrace/premake5.lua
index d035674..4007544 100644
--- a/examples/raytrace/premake5.lua
+++ b/examples/raytrace/premake5.lua
@@ -9,7 +9,7 @@
 }
 
 sources = {
-   "stbi-impl.cc",
+   "img-loaders.cc",
    "main.cc",
    "render.cc",
    "render-config.cc",
diff --git a/examples/raytrace/stbi-impl.cc b/examples/raytrace/stbi-impl.cc
deleted file mode 100644
index 0375a5a..0000000
--- a/examples/raytrace/stbi-impl.cc
+++ /dev/null
@@ -1,3 +0,0 @@
-
-#define STB_IMAGE_IMPLEMENTATION
-#include "stb_image.h"