hiitiger / goverlay

DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game
Other
783 stars 108 forks source link

Some games use different SwapChain between Fullscreen and Windowed mode. #127

Open mrbeardad opened 3 months ago

mrbeardad commented 3 months ago

Steps to reproduce

  1. Open dota2
  2. Start electron client demo
  3. Inject dota2
  4. Currently, overlay UI is shown correctly
  5. Change dota2 to different vedio mode, says, from windowd to exlusive fullscreen.
  6. The renderring frame is freezed. (in other games, sush as Pummel Party, the renderring frame is not freezed, but the overlay UI is not shown in game.)

Expected behavior

renderring frame is not freezed and overlay UI is still show above the game in step 6.

Possible reason

Some games use different SwapChain between Fullscreen and Windowed mode.