aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-03 11:24:12 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-03 11:24:12 +0100
commitcc821016c8ddce45a1e3f192415f58be237b8a1e (patch)
tree7afbaafca17091150b404dfbf0cbfa87663515f0
parentb6609b0fbc263f4fd93791f3897c5f2840b962f2 (diff)
`make format`HEADmaster
-rw-r--r--src/crepe/api/Texture.cpp2
-rw-r--r--src/crepe/facade/SDLContext.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/Texture.cpp b/src/crepe/api/Texture.cpp
index c23b91e..2b56271 100644
--- a/src/crepe/api/Texture.cpp
+++ b/src/crepe/api/Texture.cpp
@@ -2,8 +2,8 @@
#include "../util/Log.h"
#include "Asset.h"
-#include "types.h"
#include "Texture.h"
+#include "types.h"
using namespace crepe;
using namespace std;
diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp
index 8d8a87d..e8be7ca 100644
--- a/src/crepe/facade/SDLContext.cpp
+++ b/src/crepe/facade/SDLContext.cpp
@@ -216,8 +216,7 @@ SDLContext::texture_from_path(const std::string & path) {
return img_texture;
}
-
-ivec2 SDLContext::get_size(const Texture & ctx){
+ivec2 SDLContext::get_size(const Texture & ctx) {
ivec2 size;
SDL_QueryTexture(ctx.texture.get(), NULL, NULL, &size.x, &size.y);
return size;