Skip to content

Commit 93b1a56

Browse files
committed
xml dls
1 parent 463df67 commit 93b1a56

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/port/Engine.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ void GameEngine::FinishInit() {
305305
loader->RegisterResourceFactory(std::make_shared<Fast::ResourceFactoryBinaryDisplayListV0>(),
306306
RESOURCE_FORMAT_BINARY, "DisplayList",
307307
static_cast<uint32_t>(Fast::ResourceType::DisplayList), 0);
308+
loader->RegisterResourceFactory(std::make_shared<Fast::ResourceFactoryXMLDisplayListV0>(), RESOURCE_FORMAT_XML,
309+
"DisplayList", static_cast<uint32_t>(Fast::ResourceType::DisplayList), 0);
308310
loader->RegisterResourceFactory(std::make_shared<Fast::ResourceFactoryBinaryMatrixV0>(), RESOURCE_FORMAT_BINARY,
309311
"Matrix", static_cast<uint32_t>(Fast::ResourceType::Matrix), 0);
310312
loader->RegisterResourceFactory(std::make_shared<Fast::ResourceFactoryBinaryLightV0>(), RESOURCE_FORMAT_BINARY,

0 commit comments

Comments
 (0)