>>100224672
I've tried both:
const auto window = SDL_CreateWindow(
"test",
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
0,
0,
SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN);
and
SDL_DisplayMode displayMode;
SDL_GetDesktopDisplayMode(0, &displayMode);
const auto window =
SDL_CreateWindow("test",
SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED,
displayMode.w,
displayMode.h,
SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_BORDERLESS | SDL_WINDOW_OPENGL | SDL_WINDOW_HIDDEN);
both result in Windows converting the window to fullscreen exclusive. The conversion seems to happen right after the first call to SDL_GL_SwapWindows, because I get the image for 1 frame and then it flashes black before resuming the display.