* BugFix: Switch a few raw platform calls in reflectionProbe.cpp to the VFS.

This commit is contained in:
Robert MacGregor 2022-06-13 12:02:58 -04:00
parent 1cd2b3ead9
commit 0a45fac224

View file

@ -327,15 +327,15 @@ void ReflectionProbe::handleDeleteAction()
if (mReflectionModeType != StaticCubemap)
{
String prefilPath = getPrefilterMapPath();
if (Platform::isFile(prefilPath))
if (Torque::FS::IsFile(prefilPath))
{
Platform::fileDelete(prefilPath);
Torque::FS::Remove(prefilPath);
}
String irrPath = getIrradianceMapPath();
if (Platform::isFile(irrPath))
if (Torque::FS::IsFile(irrPath))
{
Platform::fileDelete(irrPath);
Torque::FS::Remove(irrPath);
}
}