Skip to content

Commit ed112d1

Browse files
committed
file loading with ECF_MAPPABLE
1 parent e589241 commit ed112d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

68_JpegLoading/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class JpegLoaderApp final : public application_templates::MonoAssetManagerAndBui
136136
files.emplace_back(std::move(path.generic_string()));
137137

138138
ISystem::future_t<smart_refctd_ptr<system::IFile>> future;
139-
m_system->createFile(future, path, IFile::ECF_READ);
139+
m_system->createFile(future, path, IFile::ECF_READ | IFile::ECF_MAPPABLE);
140140

141141
if (auto pFile = future.acquire(); pFile && pFile->get())
142142
{

0 commit comments

Comments
 (0)