mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 03:47:07 -05:00
Silence -Wshadow warning in stb_image.
This commit is contained in:
parent
e533870595
commit
2e6ac0ca49
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||||
|
|
||||||
BX_PRAGMA_DIAGNOSTIC_PUSH();
|
BX_PRAGMA_DIAGNOSTIC_PUSH();
|
||||||
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wmissing-field-initializers");
|
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wmissing-field-initializers");
|
||||||
|
BX_PRAGMA_DIAGNOSTIC_IGNORED_CLANG_GCC("-Wshadow");
|
||||||
#define STB_IMAGE_IMPLEMENTATION
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
#include <stb/stb_image.c>
|
#include <stb/stb_image.c>
|
||||||
BX_PRAGMA_DIAGNOSTIC_POP();
|
BX_PRAGMA_DIAGNOSTIC_POP();
|
||||||
|
|
Loading…
Reference in a new issue