Ver código fonte

Corrected path issue

pull/755/head
Ray 5 anos atrás
pai
commit
bc86b0f78b
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c Ver arquivo

@ -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

Carregando…
Cancelar
Salvar