OGSR / OGSR-Engine

OGSR Project - Evolution of X-Ray Engine for S.T.A.L.K.E.R.: Shadow of Chernobyl
https://discord.gg/Q6QDxbNcfR
Other
465 stars 88 forks source link

OGSR windowed mode mouse cursor problems #368

Closed Trokinos closed 2 years ago

Trokinos commented 2 years ago

Using latest version of OGSR engine at the time i write ( 2.1.293 ) , when playing the game windowed i noticed the following :

OGSR will block the mouse cursor from going to the left part of the window , both in the main menu and ingame.

In Fullscreen it works correctly.

But in "Enhanced Full Dynamic Lighting DirectX10" and "Enhanced Full Dynamic Lighting DirectX11" , the mouse cursor will work correctly, but the window is not centered anymore . And in DX10 and DX11 if i use the center_screen parameter to force OGSR to center the window, the same mouse problem as described (mouse cursor blocked from going to the left part) will happen again.

xrSimpodin commented 2 years ago

I confirm. There is a problem if you use windowed mode at a resolution lower than the screen resolution.