Pārlūkot izejas kodu

Renamed function to SetTraceLog()

I think is clearer this way...
pull/432/head
raysan5 pirms 7 gadiem
vecāks
revīzija
0bd06eec51
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +1
    -1
      src/raylib.h
  2. +1
    -1
      src/utils.c

+ 1
- 1
src/raylib.h Parādīt failu

@ -728,7 +728,7 @@ RLAPI Matrix MatrixIdentity(void); // Returns ide
// Misc. functions
RLAPI void ShowLogo(void); // Activate raylib logo at startup (can be done with flags)
RLAPI void SetConfigFlags(unsigned char flags); // Setup window configuration flags (view FLAGS)
RLAPI void SetTraceLogTypes(unsigned char types); // Enable trace log message types (bit flags based)
RLAPI void SetTraceLog(unsigned char types); // Enable trace log message types (bit flags based)
RLAPI void TraceLog(int logType, const char *text, ...); // Show trace log messages (LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG)
RLAPI void TakeScreenshot(const char *fileName); // Takes a screenshot of current screen (saved a .png)
RLAPI int GetRandomValue(int min, int max); // Returns a random value between min and max (both included)

+ 1
- 1
src/utils.c Parādīt failu

@ -88,7 +88,7 @@ static int android_close(void *cookie);
//----------------------------------------------------------------------------------
// Enable trace log message types (bit flags based)
void SetTraceLogTypes(unsigned char types)
void SetTraceLog(unsigned char types)
{
logTypeFlags = types;
}

Notiek ielāde…
Atcelt
Saglabāt