mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Switch RENDERDOC_PLATFORM to RENDERDOC_PLATFORM_<PLAT>.
Notes ====== - With no clean way to do string comparisons in the C preprocessor, have a define per-platform. This avoids the clever string concatenation for determining the OS-specic bits, and allows SN-DBS to distribute builds without custom rewrite rules. - Fix up instances of WIN32, etc., in non-3rdparty sources to refer to this. - Move the per-platform specific bits into their own subdirs.
This commit is contained in:
@@ -238,7 +238,7 @@ int renderdoccmd(int argc, char **argv)
|
||||
fprintf(stderr, "Not enough parameters to --replay");
|
||||
}
|
||||
}
|
||||
#ifdef WIN32
|
||||
#if defined(RENDERDOC_PLATFORM_WIN32)
|
||||
// if we were given an executable on windows, inject into it
|
||||
// can't do this on other platforms as there's no nice extension
|
||||
// and we don't want to just launch any single parameter in case it's
|
||||
@@ -370,7 +370,7 @@ int renderdoccmd(int argc, char **argv)
|
||||
fprintf(stderr, "renderdoccmd usage:\n\n");
|
||||
fprintf(stderr, " <file.rdc> Launch a preview window that replays this logfile and\n");
|
||||
fprintf(stderr, " displays the backbuffer.\n");
|
||||
#ifdef WIN32
|
||||
#if defined(RENDERDOC_PLATFORM_WIN32)
|
||||
fprintf(stderr, " <program.exe> Launch a capture of this program with default options.\n");
|
||||
#endif
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
Reference in New Issue
Block a user