gcc seems to have an issue converting nullptr to Resource<TSShape>, so this will at least get it compiling

This commit is contained in:
AzaezelX 2021-08-10 03:13:46 -05:00
parent c7b44203ad
commit a2ecbe53dd

View file

@ -517,7 +517,7 @@ public: \
Resource<TSShape> get##name##Resource(const U32& index) \
{\
if(index >= sm##name##Count || index < 0)\
return nullptr;\
return ResourceManager::get().load( "" );\
return m##name[index];\
}