mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fixed a problem with opening capture files larger than 2gb on windows
This commit is contained in:
committed by
Baldur Karlsson
parent
139b122cc4
commit
43946540f1
@@ -531,8 +531,8 @@ bool exists(const char *filename)
|
||||
{
|
||||
wstring wfn = StringFormat::UTF82Wide(filename);
|
||||
|
||||
struct _stat st;
|
||||
int res = _wstat(wfn.c_str(), &st);
|
||||
struct __stat64 st;
|
||||
int res = _wstat64(wfn.c_str(), &st);
|
||||
|
||||
return (res == 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user