-
Notifications
You must be signed in to change notification settings - Fork 30
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
Empty render loop panics #216
Comments
Oh, this seems to be a dealbreaker for my update. As soon as I hide all the gui also crashes. Will see if I can create a minimal reproduction. This happens on The Witcher 3 DX12. |
I see you use What happens if you pin |
It doesn't seem possible? It looks like imgui on crates.io depends on imgui 0.12, so if I specify another myself it complains of incompatible versions :( I get:
which honestly I declare myself incompetent to solve, lol |
ok, doing diff --git a/Cargo.toml b/Cargo.toml
index e315e00..278af66 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -19,11 +19,17 @@ windows-sys = {version = "0.35", features = [
"Win32_System_Console",
]}
simple_injector = { git = "https://github.com/etra0/simple_injector" }
+imgui = { git = "https://github.com/imgui-rs/imgui-rs", rev = "cb8beeb" }
hudhook = "0.8.0"
-imgui = "0.12"
+
+
lazy-re = "0.1.1"
anyhow = "1.0.65"
+[replace]
+"imgui:0.12.0" = { git = "https://github.com/imgui-rs/imgui-rs", rev = "cb8beeb" }
+"imgui-sys:0.12.0" = { git = "https://github.com/imgui-rs/imgui-rs", rev = "cb8beeb" }
+
[build-dependencies]
embed-resource = "1.8" seems to be working for now but I will hold the release until this is fixed. That was indeed the issue, thanks! |
Sometimes in cases like this it's helpful to nuke I agree it is a bit unfortunate to have to release crates depending on a git commit, but there haven't been new releases of imgui-rs in a few months now and I'm not sure what the roadmap looks like, but I don't think a new release will happen soon there. I'd release anyway if I were you -- litcher is a freestanding application so once it's compiled there are no further dependency risks to manage 😁 |
I actually did try just deleting I'll upload a pre-release build because I'm curious if that would fix W11 isues! |
Just as an addendum to this -- after this update, I've received reports that now works on W11 with the GPU scheduler, yay! |
"Your stuff works now" is as neat a christmas gift as I can get 😄 |
While I was updating litcher, I noticed that if you have an empty render loop it panics!
Prints "Rendering!" once then panics
The text was updated successfully, but these errors were encountered: