aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2017-12-24 16:49:54 +0100
committerraysan5 <raysan5@gmail.com>2017-12-24 16:49:54 +0100
commit0bd06eec5100da648e1d3dc9bd0fd796b240e079 (patch)
tree325e70b75a7adfca51c9c99b45bba92972543701 /src
parente517d8fd168b361719c214d57463ef3ee461d425 (diff)
downloadraylib-0bd06eec5100da648e1d3dc9bd0fd796b240e079.tar.gz
raylib-0bd06eec5100da648e1d3dc9bd0fd796b240e079.zip
Renamed function to SetTraceLog()
I think is clearer this way...
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h2
-rw-r--r--src/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index d3d58afa..75dafa42 100644
--- a/src/raylib.h
+++ b/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)
diff --git a/src/utils.c b/src/utils.c
index b262118c..743ef98c 100644
--- a/src/utils.c
+++ b/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;
}