diff --git a/examples/directx11_example/directx11_example.vcxproj b/examples/directx11_example/directx11_example.vcxproj index 556b04278..0ad66c4f1 100644 --- a/examples/directx11_example/directx11_example.vcxproj +++ b/examples/directx11_example/directx11_example.vcxproj @@ -79,7 +79,7 @@ - Level3 + Level4 Disabled ..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include; @@ -92,7 +92,7 @@ - Level3 + Level4 Disabled ..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include; @@ -105,7 +105,7 @@ - Level3 + Level4 MaxSpeed true true @@ -122,7 +122,7 @@ - Level3 + Level4 MaxSpeed true true diff --git a/examples/directx11_example/imgui_impl_dx11.cpp b/examples/directx11_example/imgui_impl_dx11.cpp index f6ee6b5de..4e209c871 100644 --- a/examples/directx11_example/imgui_impl_dx11.cpp +++ b/examples/directx11_example/imgui_impl_dx11.cpp @@ -146,7 +146,7 @@ static void ImGui_ImplDX11_RenderDrawLists(ImDrawList** const cmd_lists, int cmd g_pd3dDeviceContext->VSSetShader(NULL, NULL, 0); } -LRESULT ImGui_ImplDX11_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) +LRESULT ImGui_ImplDX11_WndProcHandler(HWND, UINT msg, WPARAM wParam, LPARAM lParam) { ImGuiIO& io = ImGui::GetIO(); switch (msg) diff --git a/examples/directx11_example/main.cpp b/examples/directx11_example/main.cpp index 571fe1da2..3bf4924f5 100644 --- a/examples/directx11_example/main.cpp +++ b/examples/directx11_example/main.cpp @@ -130,6 +130,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) int main(int argc, char** argv) { + (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); diff --git a/examples/directx9_example/directx9_example.vcxproj b/examples/directx9_example/directx9_example.vcxproj index f4dd7ed33..beaf53eac 100644 --- a/examples/directx9_example/directx9_example.vcxproj +++ b/examples/directx9_example/directx9_example.vcxproj @@ -79,7 +79,7 @@ - Level3 + Level4 Disabled ..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include; @@ -92,7 +92,7 @@ - Level3 + Level4 Disabled ..\..;%(AdditionalIncludeDirectories);$(DXSDK_DIR)Include; @@ -105,7 +105,7 @@ - Level3 + Level4 MaxSpeed true true @@ -122,7 +122,7 @@ - Level3 + Level4 MaxSpeed true true diff --git a/examples/directx9_example/imgui_impl_dx9.cpp b/examples/directx9_example/imgui_impl_dx9.cpp index b64b70eba..f6f2a11a6 100644 --- a/examples/directx9_example/imgui_impl_dx9.cpp +++ b/examples/directx9_example/imgui_impl_dx9.cpp @@ -110,7 +110,7 @@ static void ImGui_ImplDX9_RenderDrawLists(ImDrawList** const cmd_lists, int cmd_ } } -LRESULT ImGui_ImplDX9_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) +LRESULT ImGui_ImplDX9_WndProcHandler(HWND, UINT msg, WPARAM wParam, LPARAM lParam) { ImGuiIO& io = ImGui::GetIO(); switch (msg) diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index 5e0e58d64..07fbb7b4f 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -43,6 +43,9 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) int main(int argc, char** argv) { + (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);