warning when compiled without profiling when attempting to enable
This commit is contained in:
@@ -933,6 +933,9 @@ int main(int argc, char **argv)
|
||||
/* Check for --profile flag */
|
||||
if (argc > 1 && strcmp(argv[1], "--profile") == 0) {
|
||||
profile_enabled = 1; script_start = 2;
|
||||
#ifndef TRACY_ENABLE
|
||||
printf("Warning: --profile flag was specified but Tracy profiling is not compiled in\n");
|
||||
#endif
|
||||
}
|
||||
|
||||
if (!SDL_Init(SDL_INIT_EVENTS | SDL_INIT_GAMEPAD)) {
|
||||
|
||||
Reference in New Issue
Block a user