summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/raymath.h6
-rw-r--r--src/rtextures.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/raymath.h b/src/raymath.h
index 898e48ae..624116d4 100644
--- a/src/raymath.h
+++ b/src/raymath.h
@@ -328,9 +328,9 @@ RMAPI Vector2 Vector2Normalize(Vector2 v)
if (length > 0)
{
- float ilength = 1.0f / length;
- result.x = v.x * ilength;
- result.y = v.y * ilength;
+ float ilength = 1.0f/length;
+ result.x = v.x*ilength;
+ result.y = v.y*ilength;
}
return result;
diff --git a/src/rtextures.c b/src/rtextures.c
index cad3545c..e5c3c100 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -131,8 +131,8 @@
#endif
#if defined(SUPPORT_FILEFORMAT_QOI)
- #define QOI_MALLOC RL_MALLOC
- #define QOI_FREE RL_FREE
+ #define QOI_MALLOC RL_MALLOC
+ #define QOI_FREE RL_FREE
#define QOI_IMPLEMENTATION
#include "external/qoi.h"