aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:20:45 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 14:20:45 +0200
commit202a9ec288ded78771e1f7e4c711a7612b201b9d (patch)
treeffb476db3ac57f9edafe3feee315bdf05088cbf2 /src/test
parentf4bb6d57cc88a7e25b3a5f43faafa49a7f500b7c (diff)
rename Resource to Asset
Diffstat (limited to 'src/test')
-rw-r--r--src/test/audio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/audio.cpp b/src/test/audio.cpp
index 5bb2607..1d84551 100644
--- a/src/test/audio.cpp
+++ b/src/test/audio.cpp
@@ -2,7 +2,7 @@
#include <memory>
#include <crepe/api/AudioSource.h>
-#include <crepe/api/Resource.h>
+#include <crepe/api/Asset.h>
#include <chrono>
#include <thread>
@@ -15,7 +15,7 @@ using namespace crepe::api;
// TODO: mock internal audio class
TEST(audio, play) {
- auto res = std::make_unique<Resource>("../mwe/audio/bgm.ogg");
+ auto res = std::make_unique<Asset>("../mwe/audio/bgm.ogg");
auto bgm = AudioSource(std::move(res));
bgm.play();