Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples

This commit is contained in:
ocornut
2015-03-14 10:41:42 +00:00
parent 2b0acc128c
commit 7c9bd71512
9 changed files with 27 additions and 28 deletions

View File

@ -128,11 +128,8 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
return DefWindowProc(hWnd, msg, wParam, lParam);
}
int main(int argc, char** argv)
int main(int, char**)
{
(void)argc;
(void)argv;
// Create application window
WNDCLASSEX wc = { sizeof(WNDCLASSEX), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(NULL), NULL, LoadCursor(NULL, IDC_ARROW), NULL, NULL, L"ImGui Example", NULL };
RegisterClassEx(&wc);