From cfffa74f96c06231f6fa327e9cc52863b18d52b2 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 9 Oct 2023 11:17:22 +0200 Subject: [PATCH] REVIEWED: Libs include order --- src/rcore.h | 8 ++++---- src/utils.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/rcore.h b/src/rcore.h index 7fb35915ae46..4d40c9567fe1 100644 --- a/src/rcore.h +++ b/src/rcore.h @@ -37,12 +37,12 @@ #include "raylib.h" -#include "rlgl.h" +#include "utils.h" // Required for: TRACELOG() macros -#define RAYMATH_IMPLEMENTATION -#include "raymath.h" +#include "rlgl.h" // Required for: graphics layer functionality -#include "utils.h" // Required for: TRACELOG() macros +#define RAYMATH_IMPLEMENTATION +#include "raymath.h" // Required for: Vector2/Vector3/Matrix functionality #include // Required for: srand(), rand(), atexit() #include // Required for: sprintf() [Used in OpenURL()] diff --git a/src/utils.h b/src/utils.h index 6ec0f7f1b8de..ff8246a7b68a 100644 --- a/src/utils.h +++ b/src/utils.h @@ -32,7 +32,7 @@ #include // Required for: AAssetManager #endif -#if defined(SUPPORT_TRACELOG) && !defined(TRACELOG) +#if defined(SUPPORT_TRACELOG) #define TRACELOG(level, ...) TraceLog(level, __VA_ARGS__) #if defined(SUPPORT_TRACELOG_DEBUG)