mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix getMemoryInfo not returning false on non-Windows
This commit is contained in:
parent
251e2137d3
commit
0ea9c5c26d
1 changed files with 3 additions and 1 deletions
|
@ -864,7 +864,9 @@ bool getMemoryInfo(MemoryInfo& info) {
|
|||
}
|
||||
info.processUsedMemoryBytes = pmc.PrivateUsage;
|
||||
info.processPeakUsedMemoryBytes = pmc.PeakPagefileUsage;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
Loading…
Reference in a new issue