Browse Source

Corrected path issue

pull/755/head
Ray 5 years ago
parent
commit
bc86b0f78b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c View File

@ -3278,9 +3278,9 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i
char path[512] = { 0 };
#if defined(PLATFORM_ANDROID)
strcpy(path, internalDataPath);
strcat(path, TextFormat("/screenrec%03i.gif", screenshotCounter));
strcat(path, TextFormat("./screenrec%03i.gif", screenshotCounter));
#else
strcpy(path, TextFormat("/screenrec%03i.gif", screenshotCounter));
strcpy(path, TextFormat("./screenrec%03i.gif", screenshotCounter));
#endif
// NOTE: delay represents the time between frames in the gif, if we capture a gif frame every

Loading…
Cancel
Save