Skip to content

Commit

Permalink
- merge latest from main and fix some compilation issues in d3d12
Browse files Browse the repository at this point in the history
  • Loading branch information
polymonster committed Jul 13, 2024
1 parent 2e5a653 commit 888aabe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 3 additions & 6 deletions client/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
// currently windows only because here we need a concrete gfx and os implementation
// #![cfg(target_os = "windows")]
#![cfg(target_os = "windows")]

//use hotline_rs::*;
//use hotline_rs::client::*;
use hotline_rs::*;
use hotline_rs::client::*;

fn main() -> Result<(), hotline_rs::Error> {

/*
// create client
let ctx : Client<gfx_platform::Device, os_platform::App> = Client::create(HotlineInfo {
..Default::default()
Expand All @@ -16,7 +14,6 @@ fn main() -> Result<(), hotline_rs::Error> {
if let Err(e) = ctx.run() {
println!("error: {}", e.msg);
};
*/

Ok(())
}
8 changes: 3 additions & 5 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,9 @@ fn image_size_tests() {
assert_eq!(gfx::mip_levels_for_dimension(1024, 2048), 12);
assert_eq!(gfx::mip_levels_for_dimension(1024 + 33, 1024 + 513), 11);
assert_eq!(gfx::mip_levels_for_dimension(512 + 33, 512 + 263), 10);
<<<<<<< HEAD
=======
}


/*
// client tests must run 1 at a time, this boots the client with empty user info
#[test]
fn pmfx() -> Result<(), hotline_rs::Error> {
Expand Down Expand Up @@ -774,5 +772,5 @@ fn pbr() -> Result<(), hotline_rs::Error> {
#[test]
fn omni_shadow_maps() -> Result<(), hotline_rs::Error> {
boot_client_ecs_plugin_demo("omni_shadow_map")
>>>>>>> origin/master
}
}
*/

0 comments on commit 888aabe

Please sign in to comment.