video_core: Disable async shader loading with strict contexts

This commit is contained in:
GPUCode 2023-04-03 14:32:13 +03:00
parent 3846d0c2cd
commit 71d4a85957
5 changed files with 40 additions and 24 deletions

View file

@ -82,6 +82,8 @@ EmuWindow_SDL2_GL::EmuWindow_SDL2_GL(bool fullscreen, bool is_secondary)
exit(1);
}
strict_context_required = std::strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0;
dummy_window = SDL_CreateWindow(NULL, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 0, 0,
SDL_WINDOW_HIDDEN | SDL_WINDOW_OPENGL);