From b54d96205f039560af4800be2448ea7b8d98818c Mon Sep 17 00:00:00 2001 From: raysan5 Date: Thu, 1 Apr 2021 21:22:18 +0200 Subject: [PATCH] Review libc dependency --- src/core.c | 2 +- src/rlgl.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core.c b/src/core.c index 79466914..69d622cf 100644 --- a/src/core.c +++ b/src/core.c @@ -165,7 +165,7 @@ #include // Required for: sprintf() [Used in OpenURL()] #include // Required for: strrchr(), strcmp(), strlen() #include // Required for: time() [Used in InitTimer()] -#include // Required for: tan() [Used in BeginMode3D()] +#include // Required for: tan() [Used in BeginMode3D()], atan2f() [Used in InitVrSimulator()] #include // Required for: stat() [Used in GetFileModTime()] diff --git a/src/rlgl.h b/src/rlgl.h index 1d514b7a..ff8aba18 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -682,7 +682,6 @@ RLAPI Texture2D rlGenTextureBRDF(Shader shader, int size); // Gener #include // Required for: malloc(), free() #include // Required for: strcmp(), strlen() [Used in rlglInit(), on extensions loading] -#include // Required for: atan2f() #if defined(GRAPHICS_API_OPENGL_11) #if defined(__APPLE__)