lyckantropen / moonlight_hdr_launcher

Launch anything in HDR mode using Moonlight
MIT License
73 stars 5 forks source link

Update main.cpp #10

Closed ReenigneCA closed 2 years ago

ReenigneCA commented 2 years ago

added a dummy window when wait_on_process is enabled. This will cause gamestream to close properly after the process that is being waited on exits.

ReenigneCA commented 2 years ago

This appears to work perfectly for me. I don't bother to error check window creation because 1 it seems to work and 2 if it doesn't best we can do is just press on anyway. Rather than make a flag for this it seems to me it always makes sense when we're waiting on a process and never otherwise.

lyckantropen commented 2 years ago

Please increment the version constants in CMakeLists.txt. I think this change warrants an increment to 1.1.0.

lyckantropen commented 2 years ago

You've done enough, I'll merge it to develop and take it from there. Thank you.