mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-10 01:09:10 -04:00
Update rtextures.c
This commit is contained in:
@ -71,31 +71,31 @@
|
|||||||
#include <stdio.h> // Required for: sprintf() [Used in ExportImageAsCode()]
|
#include <stdio.h> // Required for: sprintf() [Used in ExportImageAsCode()]
|
||||||
|
|
||||||
// Support only desired texture formats on stb_image
|
// Support only desired texture formats on stb_image
|
||||||
#if !defined(SUPPORT_FILEFORMAT_BMP)
|
#if !SUPPORT_FILEFORMAT_BMP
|
||||||
#define STBI_NO_BMP
|
#define STBI_NO_BMP
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_PNG)
|
#if !SUPPORT_FILEFORMAT_PNG
|
||||||
#define STBI_NO_PNG
|
#define STBI_NO_PNG
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_TGA)
|
#if !SUPPORT_FILEFORMAT_TGA
|
||||||
#define STBI_NO_TGA
|
#define STBI_NO_TGA
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_JPG)
|
#if !SUPPORT_FILEFORMAT_JPG
|
||||||
#define STBI_NO_JPEG // Image format .jpg and .jpeg
|
#define STBI_NO_JPEG // Image format .jpg and .jpeg
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_PSD)
|
#if !SUPPORT_FILEFORMAT_PSD
|
||||||
#define STBI_NO_PSD
|
#define STBI_NO_PSD
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_GIF)
|
#if !SUPPORT_FILEFORMAT_GIF
|
||||||
#define STBI_NO_GIF
|
#define STBI_NO_GIF
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_PIC)
|
#if !SUPPORT_FILEFORMAT_PIC
|
||||||
#define STBI_NO_PIC
|
#define STBI_NO_PIC
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_HDR)
|
#if !SUPPORT_FILEFORMAT_HDR
|
||||||
#define STBI_NO_HDR
|
#define STBI_NO_HDR
|
||||||
#endif
|
#endif
|
||||||
#if !defined(SUPPORT_FILEFORMAT_PNM)
|
#if !SUPPORT_FILEFORMAT_PNM
|
||||||
#define STBI_NO_PNM
|
#define STBI_NO_PNM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user