From 731ff3d3f56e1f4b41cc4a3f02ab03fac6f5d6be Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 3 May 2016 11:12:59 +0200 Subject: [PATCH] Examples: DirectX9: Removed dependency on dx3x9 (remainder) (#611) --- examples/directx9_example/build_win32.bat | 2 +- examples/directx9_example/directx9_example.vcxproj | 4 ++-- examples/directx9_example/main.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/directx9_example/build_win32.bat b/examples/directx9_example/build_win32.bat index 08a347565..c3647d4c1 100644 --- a/examples/directx9_example/build_win32.bat +++ b/examples/directx9_example/build_win32.bat @@ -1,3 +1,3 @@ @REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler. mkdir Debug -cl /nologo /Zi /MD /I ..\.. /I "%DXSDK_DIR%/Include" /D UNICODE /D _UNICODE *.cpp ..\..\*.cpp /FeDebug/directx9_example.exe /FoDebug/ /link /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d9.lib d3dx9d.lib +cl /nologo /Zi /MD /I ..\.. /I "%DXSDK_DIR%/Include" /D UNICODE /D _UNICODE *.cpp ..\..\*.cpp /FeDebug/directx9_example.exe /FoDebug/ /link /LIBPATH:"%DXSDK_DIR%/Lib/x86" d3d9.lib diff --git a/examples/directx9_example/directx9_example.vcxproj b/examples/directx9_example/directx9_example.vcxproj index 83932c55a..66a182b54 100644 --- a/examples/directx9_example/directx9_example.vcxproj +++ b/examples/directx9_example/directx9_example.vcxproj @@ -86,7 +86,7 @@ true $(DXSDK_DIR)Lib\x86;%(AdditionalLibraryDirectories) - d3d9.lib;d3dx9d.lib;dxerr.lib;dxguid.lib;%(AdditionalDependencies) + d3d9.lib;dxguid.lib;%(AdditionalDependencies) Console @@ -116,7 +116,7 @@ true true $(DXSDK_DIR)Lib\x86;%(AdditionalLibraryDirectories) - d3d9.lib;d3dx9d.lib;dxerr.lib;dxguid.lib;%(AdditionalDependencies) + d3d9.lib;dxguid.lib;%(AdditionalDependencies) Console diff --git a/examples/directx9_example/main.cpp b/examples/directx9_example/main.cpp index 99be4e84d..babee5fd4 100644 --- a/examples/directx9_example/main.cpp +++ b/examples/directx9_example/main.cpp @@ -3,7 +3,7 @@ #include #include "imgui_impl_dx9.h" -#include +#include #define DIRECTINPUT_VERSION 0x0800 #include #include