From 1089861aa3ad7b090c1480de09dd96001befa74a Mon Sep 17 00:00:00 2001 From: Daniel Poveda Date: Mon, 13 Oct 2025 18:25:55 +0200 Subject: [PATCH] feat: implement libraries in main --- src/main.cpp | 3 +++ src/texture.cpp | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index c706756..af0754f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,6 +2,9 @@ #pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup") #endif*/ +#define STB_IMAGE_IMPLEMENTATION +#include "../lib/stb/stb_image.h" + #include "engine.h" int main() diff --git a/src/texture.cpp b/src/texture.cpp index b63ca09..f7ebdd0 100644 --- a/src/texture.cpp +++ b/src/texture.cpp @@ -4,8 +4,6 @@ #include "../lib/glew/GL/glew.h" #include "../lib/glfw/glfw3.h" - -#define STB_IMAGE_IMPLEMENTATION #include "../lib/stb/stb_image.h" #include "logger.h"