Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY authored Mar 27, 2024
1 parent 7363a04 commit 5c28706
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/xrCore/xrCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,13 +272,11 @@ void xrCore::Initialize(pcstr _ApplicationName, pcstr commandLine, LogCallback c
#endif // _EDITOR

// TODO Add proper check for CMake Windows build
#if defined(XR_PLATFORM_LINUX) || defined(XR_PLATFORM_BSD) || defined(XR_PLATFORM_APPLE)
#if !defined(XR_PLATFORM_WINDOWS)
if (xr_stricmp(ApplicationPath, CMAKE_INSTALL_FULL_DATAROOTDIR) != 0)
flags |= CLocatorAPI::flScanAppRoot;
#endif



#ifndef _EDITOR
#ifndef ELocatorAPIH
if (strstr(Params, "-file_activity") != nullptr)
Expand Down

0 comments on commit 5c28706

Please sign in to comment.