summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-11-29 17:28:23 +0100
committerRay <[email protected]>2022-11-29 17:28:23 +0100
commit0b6d4b376ff8926c5916aace66b8778b768955b2 (patch)
treed8c43ef004092bc51ddb8f5980474c69781317a8 /src/rtextures.c
parentd241ee85166e720cc0d3bc777ea940e25e1f1d3c (diff)
downloadraylib-0b6d4b376ff8926c5916aace66b8778b768955b2.tar.gz
raylib-0b6d4b376ff8926c5916aace66b8778b768955b2.zip
REVIEWED: Image fileformat support: PIC, PNM
Diffstat (limited to 'src/rtextures.c')
-rw-r--r--src/rtextures.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/rtextures.c b/src/rtextures.c
index 19dd5f62..12c309d0 100644
--- a/src/rtextures.c
+++ b/src/rtextures.c
@@ -14,8 +14,8 @@
* #define SUPPORT_FILEFORMAT_GIF
* #define SUPPORT_FILEFORMAT_QOI
* #define SUPPORT_FILEFORMAT_PSD
-* #define SUPPORT_FILEFORMAT_PIC
* #define SUPPORT_FILEFORMAT_HDR
+* #define SUPPORT_FILEFORMAT_PIC
* #define SUPPORT_FILEFORMAT_PNM
* #define SUPPORT_FILEFORMAT_DDS
* #define SUPPORT_FILEFORMAT_PKM
@@ -125,9 +125,6 @@
#endif
// Image fileformats not supported by default
-#define STBI_NO_PIC
-#define STBI_NO_PNM // Image format .ppm and .pgm
-
#if defined(__TINYC__)
#define STBI_NO_SIMD
#endif
@@ -138,8 +135,8 @@
defined(SUPPORT_FILEFORMAT_JPG) || \
defined(SUPPORT_FILEFORMAT_PSD) || \
defined(SUPPORT_FILEFORMAT_GIF) || \
- defined(SUPPORT_FILEFORMAT_PIC) || \
defined(SUPPORT_FILEFORMAT_HDR) || \
+ defined(SUPPORT_FILEFORMAT_PIC) || \
defined(SUPPORT_FILEFORMAT_PNM))
#define STBI_MALLOC RL_MALLOC