summary refs log tree commit diff
path: root/src/Render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index 58d5a42..c4ed147 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -26,7 +26,8 @@ void Render::run() {
         glViewport(0, 0, w, h);
     });
 
-    auto image = GFX::Image::PPMParser(Assets::Images::atlas).parse();
+    auto atlas_asset = MC::asset<MC::Assets::Images::atlas>();
+    auto image = GFX::Image::PPMParser(atlas_asset).parse();
     auto texture = GFX::Texture(image);
 
     glEnable(GL_DEPTH_TEST);