mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 01:35:32 +00:00
Create Sdl2NativeWindow hidden
This conforms to the other platform drivers and looks better in general (no delay between window creation and OpenGL context creation.)
This commit is contained in:
parent
4d7ba20a03
commit
b077597bc1
|
@ -70,6 +70,7 @@ namespace OpenTK.Platform.SDL2
|
|||
var flags = TranslateFlags(options);
|
||||
flags |= SDL.SDL_WindowFlags.SDL_WINDOW_OPENGL;
|
||||
flags |= SDL.SDL_WindowFlags.SDL_WINDOW_RESIZABLE;
|
||||
flags |= SDL.SDL_WindowFlags.SDL_WINDOW_HIDDEN;
|
||||
|
||||
if ((flags & SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN_DESKTOP) != 0 ||
|
||||
(flags & SDL.SDL_WindowFlags.SDL_WINDOW_FULLSCREEN) != 0)
|
||||
|
|
Loading…
Reference in a new issue