summary refs log tree commit diff
path: root/src/entity.h
diff options
context:
space:
mode:
authorzlago2025-05-08 21:56:43 +0200
committerzlago2025-05-08 21:56:43 +0200
commit6af605d10d4d7e2bdea79b8d69d0d48704ef77f8 (patch)
tree751bec92ec20ef638a8c7c571951cb2a732ced05 /src/entity.h
parent67c27b93788fa429570da22a48f98291cd402e49 (diff)
include more specific headers than SDL.h
improves compilation times, since so many things only need SDL_render.h
Diffstat (limited to 'src/entity.h')
-rw-r--r--src/entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entity.h b/src/entity.h
index 038b62a..614d15f 100644
--- a/src/entity.h
+++ b/src/entity.h
@@ -1,6 +1,6 @@
 #pragma once
 
-#include <SDL2/SDL.h>
+#include <SDL2/SDL_rect.h>
 
 #define from_fixed(a) ((a) / 16)
 #define to_fixed(a) ((a) * 16)