Skip to content

Commit

Permalink
More changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DDRBoxman committed Oct 29, 2023
1 parent ee6ec0a commit 7835465
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
5 changes: 0 additions & 5 deletions Cappy3ds/src/main.rs

This file was deleted.

2 changes: 1 addition & 1 deletion build_win_dll.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cargo build
xcopy .\target\debug\libcappy3ds.dll .\win\ /Y
xcopy .\target\debug\cappy3ds_render.dll .\win\ /Y
4 changes: 3 additions & 1 deletion cappy3ds_render/src/dsscreen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,12 @@ impl DSScreen {
resolve_target: None,
ops: wgpu::Operations {
load: wgpu::LoadOp::Load,
store: true,
store: wgpu::StoreOp::Store,
},
})],
depth_stencil_attachment: None,
occlusion_query_set: None,
timestamp_writes: None,
});

render_pass.set_pipeline(&self.render_pipeline);
Expand Down
2 changes: 1 addition & 1 deletion cappy3ds_render/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl State {
b: 0.3,
a: 1.0,
}),
store: true,
store: wgpu::StoreOp::Store,
},
})],
depth_stencil_attachment: None,
Expand Down
2 changes: 0 additions & 2 deletions win/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs ar
{
m_window = new MainWindow();
m_window.Activate();

CsBindgen.NativeMethods.hello_world();
}

private Window m_window;
Expand Down
5 changes: 4 additions & 1 deletion win/Cappy3ds.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
Expand Down Expand Up @@ -38,6 +38,9 @@
<ProjectCapability Include="Msix" />
</ItemGroup>
<ItemGroup>
<None Update="cappy3ds_render.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="libcappy3ds.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down

0 comments on commit 7835465

Please sign in to comment.