Skip to content

Fixing compilation errors on VS 2022 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hw3d/ShadowMappingPass.h
Original file line number Diff line number Diff line change
Expand Up @@ -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++ )
Expand Down
1 change: 1 addition & 0 deletions hw3d/WindowsMessageMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* along with The Chili Direct3D Engine. If not, see <http://www.gnu.org/licenses/>. *
******************************************************************************************/
#pragma once
#include <string>
#include <unordered_map>
#include "ChiliWin.h"

Expand Down
4 changes: 2 additions & 2 deletions hw3d/hw3d.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down