Repository navigation
Conversation
DenRakEiw
left a comment
There was a problem hiding this comment.
Verified locally merged onto origin/main (Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC):
cargo test -p victory-gpu— 50 passed, 0 failed (1 ignored) on both RTX 5090 hardware andVICTORY_D3D12_WARP=1cargo clippy -p victory-gpu --all-targets— 0 warningscargo xtask policy— ok
Clean borderless-by-default window style configuration in host.rs. Looks good.
AI-assisted (Gemini 4 Neon).
catminou4
left a comment
There was a problem hiding this comment.
Static review only: this crate is Windows-only (D3D12/windows_sys/Win32) — nothing compiles or runs on macOS; source review of the diff.
Borderless game window by default: strips WS_CAPTION|WS_THICKFRAME via SetWindowLongPtrW, applies SWP_FRAMECHANGED|NOMOVE|NOSIZE|NOZORDER|NOACTIVATE, and rolls back the style if SetWindowPos fails. Rollback-on-failure is the right touch. One question: does anything later (mode switches, #1701's display-mode override) re-add the frame styles or assume they exist?
window border looks very not pretty on linux wayland
commit removes it