mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed vs2015 warnings.
This commit is contained in:
parent
5bb5049cf4
commit
f9c059d408
2 changed files with 9 additions and 0 deletions
7
3rdparty/stb/stb_image.c
vendored
7
3rdparty/stb/stb_image.c
vendored
|
@ -1,3 +1,10 @@
|
|||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wshadow"
|
||||
#elif defined(_MSC_VER)
|
||||
# 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
|
||||
#endif
|
||||
|
||||
/* stb_image - v2.06 - public domain image loader - http://nothings.org/stb_image.h
|
||||
no warranty implied; use at your own risk
|
||||
|
||||
|
|
2
3rdparty/stb/stb_truetype.h
vendored
2
3rdparty/stb/stb_truetype.h
vendored
|
@ -1,5 +1,7 @@
|
|||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wshadow"
|
||||
#elif defined(_MSC_VER)
|
||||
# pragma warning(disable:4456) // warning C4456: declaration of 'k' hides previous local declaration
|
||||
#endif
|
||||
|
||||
// stb_truetype.h - v1.07 - public domain
|
||||
|
|
Loading…
Reference in a new issue