Tue, 10 Jun 2025 19:17:21 +0200
fix includes in glcontext.c
src/Makefile | file | annotate | diff | comparison | revisions | |
src/glcontext.c | file | annotate | diff | comparison | revisions |
--- a/src/Makefile Mon Jun 09 14:02:40 2025 +0200 +++ b/src/Makefile Tue Jun 10 19:17:21 2025 +0200 @@ -86,10 +86,8 @@ $(CC) -o $@ $(CFLAGS) -c $< $(BUILD_DIR)/glcontext.o: glcontext.c ascension/glcontext.h \ - ascension/error.h ascension/2d/sprite.h ascension/2d/../scene_node.h \ - ascension/2d/../datatypes.h ascension/2d/../transform.h \ - ascension/2d/../mesh.h ascension/2d/../texture.h \ - ascension/2d/../shader.h ascension/2d/../camera.h + ascension/shader.h ascension/camera.h ascension/datatypes.h \ + ascension/error.h @echo "Compiling $<" $(CC) -o $@ $(CFLAGS) -c $<
--- a/src/glcontext.c Mon Jun 09 14:02:40 2025 +0200 +++ b/src/glcontext.c Tue Jun 10 19:17:21 2025 +0200 @@ -26,10 +26,9 @@ */ #include "ascension/glcontext.h" +#include "ascension/shader.h" #include "ascension/error.h" -#include "ascension/2d/sprite.h" - #include <GL/glew.h> #include <cx/array_list.h>