mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-24 16:48:18 -05:00
Fixed VS2015 warning in stb.
This commit is contained in:
parent
183ed6b73a
commit
f1bba419b7
1 changed files with 1 additions and 0 deletions
1
3rdparty/stb/stb_image.c
vendored
1
3rdparty/stb/stb_image.c
vendored
|
@ -1,6 +1,7 @@
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic ignored "-Wshadow"
|
# pragma GCC diagnostic ignored "-Wshadow"
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
|
# pragma warning(disable:4312) // warning C4312: 'type cast': conversion from '' to '' of greater size
|
||||||
# pragma warning(disable:4456) // warning C4456: declaration of 'k' hides previous local declaration
|
# pragma warning(disable:4456) // warning C4456: declaration of 'k' hides previous local declaration
|
||||||
# pragma warning(disable:4457) // warning C4457: declaration of 'y' hides function parameter
|
# pragma warning(disable:4457) // warning C4457: declaration of 'y' hides function parameter
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue