mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Change ReadAll/WriteAll to take rdcstr instead of char* filename
This commit is contained in:
@@ -275,7 +275,7 @@ void rdclog_filename(const char *filename)
|
||||
if(logfileHandle && previous.c_str())
|
||||
{
|
||||
rdcstr previousContents;
|
||||
FileIO::ReadAll(previous.c_str(), previousContents);
|
||||
FileIO::ReadAll(previous, previousContents);
|
||||
|
||||
if(!previousContents.empty())
|
||||
FileIO::logfile_append(logfileHandle, previousContents.c_str(), previousContents.size());
|
||||
|
||||
Reference in New Issue
Block a user