瀏覽代碼

Renamed function to SetTraceLog()

I think is clearer this way...
pull/432/head
raysan5 7 年之前
父節點
當前提交
0bd06eec51
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      src/raylib.h
  2. +1
    -1
      src/utils.c

+ 1
- 1
src/raylib.h 查看文件

@ -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 查看文件

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

Loading…
取消
儲存