mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples
This commit is contained in:
parent
2b0acc128c
commit
7c9bd71512
9 changed files with 27 additions and 28 deletions
|
|
@ -1,5 +1,10 @@
|
|||
#include <GL/gl3w.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable: 4055) // warning C4055: 'type cast' : from data pointer 'void *' to function pointer
|
||||
#pragma warning (disable: 4152) // warning C4152: nonstandard extension, function/data pointer conversion in expression
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#include <windows.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue