The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
window+angle+gles20+fullscreen problems
marksibly


Joined: 02 Jul 2015
Posts: 14
Hi,

I'm having a few problems with fullscreen mode and gles20/angle on windows.


For starters, I can't seem to disable Alt-Enter toggling fullscreen. This happens even if I don't set the resizable window flag, but I'd like to be able to disable it even for resizable windows.


And when it does go fullscreen, I don't seem to get a 'resized' event at all - is there some other event I need to use to detect fullscreen toggling?


Also, I am using mingw to build and found I had to tweak the file SDL_egl.h to get it to work. There's currently a #ifndef _MSC_VER near the to that I had to change to #ifndef _WIN32. The code appears to assume that if your not using MSC, then EGL/egl.h etc are available, which is not true for mingw AFAIK.


Bye!
Mark