Skip to content

Commit 06ce6a6

Browse files
committed
xrCore: calculate build id once
1 parent ba30686 commit 06ce6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrCore/xrCore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ static u32 init_counter = 0;
1818

1919
void xrCore::Initialize(pcstr _ApplicationName, LogCallback cb, bool init_fs, pcstr fs_fname, bool plugin)
2020
{
21-
CalculateBuildId();
2221
xr_strcpy(ApplicationName, _ApplicationName);
2322
if (0 == init_counter)
2423
{
24+
CalculateBuildId();
2525
PluginMode = plugin;
2626
// Init COM so we can use CoCreateInstance
2727
// HRESULT co_res =

0 commit comments

Comments
 (0)