[SDL] fix : SetIsReallyFullscreen is not setting real fullscreen state if API is not DX#2829
[SDL] fix : SetIsReallyFullscreen is not setting real fullscreen state if API is not DX#2829Jklawreszuk wants to merge 4 commits intostride3d:masterfrom
Conversation
|
Once I test all the Graphics APIs (as well as Resize feature) I'm gonna reopen for review :) |
|
|
25ce4da to
4ea4e73
Compare
|
Alright, I removed isReallyFullscreen entirely across all API's and it still seems to work |
|
Does it work on all platforms? Would be interesting to see when that code was introduced. |
|
@Kryptos-FR I tested it on: Vulkan(Linux) + OpenGL (WIN/Linux) + DX11(WIN).
Yup, I would be glad to understand why was introduced 😅 |
|
I would need to look at it better, but I think for DirectX (both 11 and 12), Stride uses |
|
You're right, there is such a thing like an MakeWindowAssociation that "prevents alt+tab" combination. So general conclusion is that I'm gonna mark that code as DirectX specific instead, and it can be discused later whether is important or not |
|
Anyone? Any thoughts? 🥺 |
|
Kindly pinging @Ethereal77 to check this one out again :) |
|
Sorry for the delay. I've been looking into this a bit and I think the problem may be a bug or lack of functionality in
|
|
@Jklawreszuk what's the current state for this PR ? And how does it fare now that #2845 is in ? |
|
@Eideren Thanks to the recent changes my PR becomes obsolete and the problem was resolved, so I can close now 😄 |
PR Details
PR fixes following bug:
ALT+ENTERcombinationtruefalsetofalsefor the first time.This causes you to have to press
ALT+ENTERtwice to exit the fullscreen mode.Applies for : OpenGL, Vulkan (Any OS)
Types of changes
Checklist