Qt: Use AssetsAssetReader to load Qt assets.

This commit is contained in:
Sacha
2013-11-21 20:11:37 +10:00
parent 37beb1a54a
commit 61cf802836
5 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -247,7 +247,9 @@ void NativeInit(int argc, const char *argv[],
#endif
// We want this to be FIRST.
#ifndef USING_QT_UI
#ifdef USING_QT_UI
VFSRegister("", new AssetsAssetReader());
#else
#if defined(BLACKBERRY) || defined(IOS)
// Packed assets are included in app
VFSRegister("", new DirectoryAssetReader(external_directory));