From e462cb92936212a583a2d38eb8225b6f3700dfb9 Mon Sep 17 00:00:00 2001 From: dinau Date: Thu, 6 Jun 2024 15:12:47 +0900 Subject: [PATCH] avoid workflow error --- examples/utils/loadImage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/utils/loadImage.c b/examples/utils/loadImage.c index 5f936ef..889910e 100644 --- a/examples/utils/loadImage.c +++ b/examples/utils/loadImage.c @@ -6,8 +6,10 @@ #include #include -#include #include "utils.h" +#ifdef CIMGUI_USE_GLFW +#include +#endif // Simple helper function to load an image into a OpenGL texture with common settings unsigned char* LoadTextureFromFile(const char* imageName, GLuint* out_texture, int* out_width, int* out_height) {