SpeedrunTooling / SRTPluginUIRE2DirectXOverlay

MIT License
0 stars 0 forks source link

Overlay incorrectly draws on wrong window when game has multiple windows. #5

Closed Squirrelies closed 7 months ago

Squirrelies commented 7 months ago

Overlay incorrectly draws on wrong window when game has multiple windows.

In cases where more than one (1) window is opened, for example an AllocConsole() call on the game process, the overlay will draw on that window instead of the game window.

re2r-srt-dxoverlay-attachToProperWindowClass

We should attach specifically to the window with the class named 'via' instead, at least for RE2R.