It doesn't work 100%, at least for me. Debug prints cause some delay which means user has more likely released ALT key during period when old window is gone and new one opened, meaning that ALT modifier state will not be reported (so it cannot "stick").
I didn't try yesterday, but my guess is that if user keeps ALT pressed until new window is opened, this will trigger issue always.
Regarding Grim Fandango returning 0 for red, green, blue, alpha bits when using FBO: if there's no valid color-attachment when querying those infos then you'll get 0. This seems to be the case here because you get the same result on Win32. However, there was a bug in ogles2.lib which resulted in also returning 0 if there was a valid texture color-attachment (for non-texture attachments it worked correctly). This has been fixed in upcoming ogles2 3.3.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Actually, i'm still at the last release version of SDL2 and never had that fullscreen toggle problem.
Or are you all on some beta SDL2?
...
Then again, the "thuds" in audio playback seems to be back...need to investigate
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
I do have 2.0.20 and Alt+Enter Fullscreen/Window toggling works
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
@Raziel Yes, it works. Try to run in window mode, then run Grim , then hit "alt+enter" to swith to fullscreen. It switch fine. Then, hitting just "enter" (without alt) will swith back to the window : that what was bug about.
While in window mode, pressing "s" should bring up the save screen, instead it took a screenshot (ALT + "s"). I see what you mean, good thing this has been fixed.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Anything i need to do beforehand? Some preparations i missed?
Thank you
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
@Raziel You need to use Andrea's clib2, then SDL2 can be compiled with.
And in your output you seems mix the things : if you compile via clib2, then includes, libs, sobjs all should be clib2 , i.e. in your latest lines you have /sdk/local/newlib/lib/libSDL2.so , why you touch newlib one there if you build for clib2 ?:)
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
@Capehill Sorry for being lame, but is there possibility by SDL1 or SDL2 to attach to already opened amigascreen/window ?
What i mean is : let's say i already open the amiga screen/window, and i need to attach SDL to it , so i can use SDL functions, and this amiga opened screen/window by amiga functions will functional ?
I mean i can do SDL_Init of course and stuff, just without opening the window, but with using of already opened one ?
btw, did you see my question on the ScummVM thread?
edit: Works with ScummVM, Alt-Enter bug gone, thanks a lot
Edited by Raziel on 2022/5/4 17:48:48
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
@Capehill In SDL2 didn't fine testnativewindow examples, only testnative and testnativeamigaos4. In first one i didn't see any Intuition calls, and in second one, i see only os4 native stuff, without SDL functions.