mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Linux fixes for switch to UTF-8 strings.
This commit is contained in:
@@ -48,7 +48,7 @@ void library_loaded()
|
||||
{
|
||||
RenderDoc::Inst().Initialise();
|
||||
|
||||
RDCLOG("Loading into %S", curfile.c_str());
|
||||
RDCLOG("Loading into %s", curfile.c_str());
|
||||
|
||||
LibraryHooks::GetInstance().CreateHooks();
|
||||
}
|
||||
|
||||
@@ -216,10 +216,9 @@ namespace StringFormat
|
||||
int size = StringFormat::vsnprintf(NULL, 0, format, args2);
|
||||
|
||||
char *buf = new char[size+1];
|
||||
StringFormat::vsnprintf(buf, size+1, format, args);
|
||||
buf[size] = 0;
|
||||
|
||||
StringFormat::vsnprintf(buf, size, format, args);
|
||||
|
||||
va_end(args);
|
||||
va_end(args2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user