diff --git a/src/context.h b/src/context.h index b80da22..d2a6361 100644 --- a/src/context.h +++ b/src/context.h @@ -2,7 +2,6 @@ #define CONTEXT_H -#include "private/rendering.h" #include "textures.h" #include "input.h" diff --git a/src/rendering.c b/src/rendering.c index 9f8b59e..231a670 100644 --- a/src/rendering.c +++ b/src/rendering.c @@ -1,4 +1,4 @@ -#include "private/rendering.h" +#include "rendering/internal_api.h" #include "rendering/sprites.h" #include "rendering/triangles.h" #include "rendering/circles.h" diff --git a/src/rendering/circles.h b/src/rendering/circles.h index d7d62c9..d8f9bf5 100644 --- a/src/rendering/circles.h +++ b/src/rendering/circles.h @@ -3,7 +3,7 @@ #define CIRCLES_H #include "../util.h" -#include "../private/rendering.h" +#include "internal_api.h" #include "../context.h" #include diff --git a/src/private/rendering.h b/src/rendering/internal_api.h similarity index 95% rename from src/private/rendering.h rename to src/rendering/internal_api.h index e7fe7ee..36abc6c 100644 --- a/src/private/rendering.h +++ b/src/rendering/internal_api.h @@ -1,7 +1,5 @@ -#ifndef PRIVATE_RENDERING_H -#define PRIVATE_RENDERING_H - -#include "../rendering.h" +#ifndef RENDERING_INTERNAL_API_H +#define RENDERING_INTERNAL_API_H #include "../textures.h" #include "../util.h"