mirror of https://github.com/AxioDL/metaforce.git
Don't disable the compositor on Linux
This commit is contained in:
parent
11b75ddda4
commit
c679c2e0f8
|
@ -230,7 +230,9 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
|
||||||
for (size_t i = 1; i < argc; ++i) {
|
for (size_t i = 1; i < argc; ++i) {
|
||||||
g_Args.emplace_back(argv[i]);
|
g_Args.emplace_back(argv[i]);
|
||||||
}
|
}
|
||||||
|
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||||
|
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
||||||
|
#endif
|
||||||
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
|
if (SDL_Init(SDL_INIT_EVERYTHING) < 0) {
|
||||||
Log.report(logvisor::Fatal, FMT_STRING("Error initializing SDL: {}"), SDL_GetError());
|
Log.report(logvisor::Fatal, FMT_STRING("Error initializing SDL: {}"), SDL_GetError());
|
||||||
unreachable();
|
unreachable();
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit ec125acf29f9b3df9fbb086f306bdb181634760c
|
Subproject commit e53b380f4298364c8f389c562415e2c093423b56
|
Loading…
Reference in New Issue