mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 12:08:47 +02:00
Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user