aboutsummaryrefslogtreecommitdiff
path: root/src/example/asset_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/example/asset_manager.cpp')
-rw-r--r--src/example/asset_manager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/example/asset_manager.cpp b/src/example/asset_manager.cpp
index 9b41c2f..7aa4ffe 100644
--- a/src/example/asset_manager.cpp
+++ b/src/example/asset_manager.cpp
@@ -9,9 +9,7 @@ using namespace crepe::api;
int main() {
// this needs to be called before the asset manager otherwise the destructor of sdl is not in the right order
- {
- Texture test("../asset/texture/img.png");
- }
+ { Texture test("../asset/texture/img.png"); }
auto & mgr = AssetManager::get_instance();