New ImageResourceDisplay implementation that should decrease RAM usage
This commit is contained in:
parent
a69d9e3c6c
commit
fec602e46a
11 changed files with 246 additions and 98 deletions
|
|
@ -17,7 +17,7 @@ bool FileResourceDisplay::update_draw() const {
|
|||
void FileResourceDisplay::update(World& w) {
|
||||
}
|
||||
|
||||
bool FileResourceDisplay::load(ResourceManager& rMan, const std::string& fileName, const std::string& fileData) {
|
||||
bool FileResourceDisplay::load(ResourceManager& rMan, const std::string& fileName, const std::shared_ptr<std::string>& fileData) {
|
||||
this->fileName = fileName;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue