diff options
| author | Ray <[email protected]> | 2024-01-05 22:33:22 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-01-05 22:33:22 +0100 |
| commit | e428ec940be1f4463cc86e7fa641bdfbf80d4c6a (patch) | |
| tree | 55e8dba7d0f58627342959734953925a983328b0 | |
| parent | c95b71d40d34354fec3998a4e2dc54b3c291cedc (diff) | |
| parent | 19bdcedf1c0606987665b66b9d52a1cfb20c6887 (diff) | |
| download | raylib-e428ec940be1f4463cc86e7fa641bdfbf80d4c6a.tar.gz raylib-e428ec940be1f4463cc86e7fa641bdfbf80d4c6a.zip | |
Merge branch 'master' of https://github.com/raysan5/raylib
| -rw-r--r-- | BINDINGS.md | 2 | ||||
| -rw-r--r-- | src/rtextures.c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/BINDINGS.md b/BINDINGS.md index 8c821903..ab0d7789 100644 --- a/BINDINGS.md +++ b/BINDINGS.md @@ -77,7 +77,7 @@ Some people ported raylib to other languages in form of bindings or wrappers to | raylib-vapi | 4.2 | [Vala](https://vala.dev/) | Zlib | https://github.com/lxmcf/raylib-vapi | | raylib-wren | 4.0 | [Wren](http://wren.io/) | ISC | https://github.com/TSnake41/raylib-wren | | raylib-zig | 4.6-dev | [Zig](https://ziglang.org/) | MIT | https://github.com/Not-Nik/raylib-zig | -| raylib.zig | 4.6-dev | [Zig](https://ziglang.org/) | MIT | https://github.com/ryupold/raylib.zig | +| raylib.zig | 5.1-dev | [Zig](https://ziglang.org/) | MIT | https://github.com/ryupold/raylib.zig | | hare-raylib | **auto** | [Hare](https://harelang.org/) | Zlib | https://git.sr.ht/~evantj/hare-raylib | | raylib-sunder | **auto** | [Sunder](https://github.com/ashn-dot-dev/sunder) | 0BSD | https://github.com/ashn-dot-dev/raylib-sunder | | rayed-bqn | **auto** | [BQN](https://mlochbaum.github.io/BQN/) | MIT | https://github.com/Brian-ED/rayed-bqn | diff --git a/src/rtextures.c b/src/rtextures.c index 9c257808..a2bba1cf 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -212,9 +212,19 @@ #define STBIR_MALLOC(size,c) ((void)(c), RL_MALLOC(size)) #define STBIR_FREE(ptr,c) ((void)(c), RL_FREE(ptr)) + +#if defined(__GNUC__) // GCC and Clang + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wunused-function" +#endif + #define STB_IMAGE_RESIZE_IMPLEMENTATION #include "external/stb_image_resize2.h" // Required for: stbir_resize_uint8_linear() [ImageResize()] +#if defined(__GNUC__) // GCC and Clang + #pragma GCC diagnostic pop +#endif + #if defined(SUPPORT_FILEFORMAT_SVG) #define NANOSVG_IMPLEMENTATION // Expands implementation #include "external/nanosvg.h" |
