|
100 | 100 | #endif |
101 | 101 |
|
102 | 102 | #if SUPPORT_FILEFORMAT_DDS |
103 | | - #define RL_GPUTEX_SUPPORT_DDS |
| 103 | + #define RLTEXGPU_SUPPORT_DDS |
104 | 104 | #endif |
105 | 105 | #if SUPPORT_FILEFORMAT_PKM |
106 | | - #define RL_GPUTEX_SUPPORT_PKM |
| 106 | + #define RLTEXGPU_SUPPORT_PKM |
107 | 107 | #endif |
108 | 108 | #if SUPPORT_FILEFORMAT_KTX |
109 | | - #define RL_GPUTEX_SUPPORT_KTX |
| 109 | + #define RLTEXGPU_SUPPORT_KTX |
110 | 110 | #endif |
111 | 111 | #if SUPPORT_FILEFORMAT_PVR |
112 | | - #define RL_GPUTEX_SUPPORT_PVR |
| 112 | + #define RLTEXGPU_SUPPORT_PVR |
113 | 113 | #endif |
114 | 114 | #if SUPPORT_FILEFORMAT_ASTC |
115 | | - #define RL_GPUTEX_SUPPORT_ASTC |
| 115 | + #define RLTEXGPU_SUPPORT_ASTC |
116 | 116 | #endif |
117 | 117 |
|
118 | 118 | // Image fileformats not supported by default |
|
161 | 161 | #pragma GCC diagnostic ignored "-Wunused-function" |
162 | 162 | #endif |
163 | 163 |
|
164 | | - #define RL_GPUTEX_MALLOC RL_MALLOC |
165 | | - #define RL_GPUTEX_FREE RL_FREE |
166 | | - #define RL_GPUTEX_LOG(...) TRACELOG(LOG_WARNING, "IMAGE: " __VA_ARGS__) |
167 | | - #define RL_GPUTEX_SHOW_LOG_INFO |
168 | | - #define RL_GPUTEX_IMPLEMENTATION |
169 | | - #include "external/rl_gputex.h" // Required for: rl_load_xxx_from_memory() |
170 | | - // NOTE: Used to read compressed textures data (multiple formats support) |
| 164 | + #define RLTEXGPU_MALLOC RL_MALLOC |
| 165 | + #define RLTEXGPU_FREE RL_FREE |
| 166 | + #define RLTEXGPU_LOG(...) TRACELOG(LOG_WARNING, "IMAGE: " __VA_ARGS__) |
| 167 | + #define RLTEXGPU_SHOW_LOG_INFO |
| 168 | + #define RLTEXGPU_IMPLEMENTATION |
| 169 | + #include "external/rltexgpu.h" // Required for: rl_load_xxx_from_memory() |
| 170 | + // NOTE: Used to read compressed textures data (multiple formats support) |
171 | 171 | #if defined(__GNUC__) // GCC and Clang |
172 | 172 | #pragma GCC diagnostic pop |
173 | 173 | #endif |
|
0 commit comments