diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-03 11:24:12 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-03 11:24:12 +0100 |
commit | cc821016c8ddce45a1e3f192415f58be237b8a1e (patch) | |
tree | 7afbaafca17091150b404dfbf0cbfa87663515f0 /src/crepe/facade | |
parent | b6609b0fbc263f4fd93791f3897c5f2840b962f2 (diff) |
`make format`
Diffstat (limited to 'src/crepe/facade')
-rw-r--r-- | src/crepe/facade/SDLContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |