mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
compilation fixes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "util.h"
|
||||
#include "imageReader.h"
|
||||
#include "fontReader.h"
|
||||
#include "xmlModelReader.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -34,6 +35,11 @@ namespace vb01{
|
||||
if(find(fontFormats.begin(), fontFormats.end(), format) != fontFormats.end())
|
||||
assetReader = FontReader::getSingleton();
|
||||
|
||||
vector<string> modelFormats = vector<string>{"xml"};
|
||||
|
||||
if(find(modelFormats.begin(), modelFormats.end(), format) != modelFormats.end())
|
||||
assetReader = XmlModelReader::getSingleton();
|
||||
|
||||
assets.push_back(assetReader->readAsset(path));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user