aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:10 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:10 +0100
commitfda61be91cd8667fa2b51e3b8a17ba6b93b728c8 (patch)
treef44ea9104461ef11ca2441e660485e127da2f64a /src/crepe/facade/SDLContext.cpp
parent93f0951738d3ac7b0249b5064c3ee7b6270eeb3a (diff)
feedback changes
Diffstat (limited to 'src/crepe/facade/SDLContext.cpp')
-rw-r--r--src/crepe/facade/SDLContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index cbb0f3b..47dda81 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -7,6 +7,7 @@
#include <SDL2/SDL_render.h>
#include <SDL2/SDL_surface.h>
#include <SDL2/SDL_video.h>
+#include <SDL2/SDL_ttf.h>
#include <array>
#include <cmath>
#include <cstddef>
@@ -75,8 +76,8 @@ SDLContext::~SDLContext() {
// thread that SDL_Init() was called on? This has caused problems for me
// before.
IMG_Quit();
- SDL_Quit();
TTF_Quit();
+ SDL_Quit();
}
Keycode SDLContext::sdl_to_keycode(SDL_Keycode sdl_key) {