From e76712f49d6f6022fd214411b34817a3a99b3a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophyl=20Hoguet?= Date: Mon, 21 Mar 2022 20:54:34 +0100 Subject: [PATCH] remove SDL2 from include --- .vscode/settings.json | 3 ++- model.c | 6 +++--- model.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9073867..b1f2b67 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,8 @@ "game.h": "c", "game_private.h": "c", "history.h": "c", - "game_tools.h": "c" + "game_tools.h": "c", + "model.h": "c" }, "editor.formatOnSave": true, "C_Cpp.clang_format_path": "/usr/bin/clang-format", diff --git a/model.c b/model.c index 98f8def..2d8988e 100644 --- a/model.c +++ b/model.c @@ -1,10 +1,10 @@ // SDL2 Demo by aurelien.esnard@u-bordeaux.fr #include "model.h" -#include -#include // required to load transparent texture from PNG -#include // required to use TTF fonts +#include +#include // required to load transparent texture from PNG #include +#include // required to use TTF fonts #include #include #include diff --git a/model.h b/model.h index ccebb8c..056c8ce 100644 --- a/model.h +++ b/model.h @@ -3,7 +3,7 @@ #ifndef MODEL_H #define MODEL_H -#include +#include #include #include