Quellcode durchsuchen

Review tracelogs

pull/2264/head
Ray vor 3 Jahren
Ursprung
Commit
62858e11f7
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. +3
    -0
      src/raudio.c
  2. +2
    -2
      src/rtextures.c

+ 3
- 0
src/raudio.c Datei anzeigen

@ -985,6 +985,9 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
success = SaveFileText(fileName, txtData);
RL_FREE(txtData);
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Wave as code exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export wave as code", fileName);
return success;
}

+ 2
- 2
src/rtextures.c Datei anzeigen

@ -592,8 +592,8 @@ bool ExportImageAsCode(Image image, const char *fileName)
#endif // SUPPORT_IMAGE_EXPORT
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image", fileName);
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image as code exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image as code", fileName);
return success;
}

Laden…
Abbrechen
Speichern