diff --git a/hw3d/ShadowMappingPass.h b/hw3d/ShadowMappingPass.h index 9a5c812..af2139b 100644 --- a/hw3d/ShadowMappingPass.h +++ b/hw3d/ShadowMappingPass.h @@ -71,7 +71,8 @@ namespace Rgph { using namespace DirectX; - const auto pos = XMLoadFloat3( &pShadowCamera->GetPos() ); + const auto foo = pShadowCamera->GetPos(); + const auto pos = XMLoadFloat3( &foo ); gfx.SetProjection( XMLoadFloat4x4( &projection ) ); for( size_t i = 0; i < 6; i++ ) diff --git a/hw3d/WindowsMessageMap.h b/hw3d/WindowsMessageMap.h index 1b75d5b..706bd18 100644 --- a/hw3d/WindowsMessageMap.h +++ b/hw3d/WindowsMessageMap.h @@ -18,6 +18,7 @@ * along with The Chili Direct3D Engine. If not, see . * ******************************************************************************************/ #pragma once +#include #include #include "ChiliWin.h" diff --git a/hw3d/hw3d.vcxproj b/hw3d/hw3d.vcxproj index d3f08c6..3e61388 100644 --- a/hw3d/hw3d.vcxproj +++ b/hw3d/hw3d.vcxproj @@ -20,13 +20,13 @@ Application true - v142 + v143 MultiByte Application false - v142 + v143 true MultiByte