mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-09 15:33:10 +00:00
Fixed a problem with opening capture files larger than 2gb on windows
This commit is contained in:
1 parent
9587cba45d
commit
65b3b8b6d8
1 file changed
+2
-2
@@ -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