summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-08-09 10:00:26 +0200
committerRay <[email protected]>2023-08-09 10:00:26 +0200
commit42cfabc67069fd01ee8c0b00d58862e32f0942fb (patch)
treeeda6bd62b3bc22bf69143b124bf79b37e3b0aeb9 /src/rtextures.c
parent03ecf2202e61532bebaffc3b49941261bf967614 (diff)
downloadraylib-42cfabc67069fd01ee8c0b00d58862e32f0942fb.tar.gz
raylib-42cfabc67069fd01ee8c0b00d58862e32f0942fb.zip
REVIEWED: Old pragma formating
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 501e3fde..8a391477 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -162,16 +162,17 @@
#define QOI_MALLOC RL_MALLOC
#define QOI_FREE RL_FREE
-#if defined(_MSC_VER ) // qoi has warnings on windows, so disable them just for this file
-#pragma warning( push )
-#pragma warning( disable : 4267)
-#endif
+ #if defined(_MSC_VER) // Disable some MSVC warning
+ #pragma warning(push)
+ #pragma warning(disable : 4267)
+ #endif
+
#define QOI_IMPLEMENTATION
#include "external/qoi.h"
-#if defined(_MSC_VER )
-#pragma warning( pop )
-#endif
+ #if defined(_MSC_VER)
+ #pragma warning(pop) // Disable MSVC warning suppression
+ #endif
#endif