mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Fixes and other bullshit x2
This commit is contained in:
parent
4d1ae57bc5
commit
44f2ef26f6
1 changed files with 2 additions and 2 deletions
|
|
@ -225,11 +225,11 @@ int main(int argc, char *argv[]){
|
|||
SDL_SetHint(SDL_HINT_APP_NAME, "Oneshot: Sunshine");
|
||||
SDL_SetHint(SDL_HINT_AUDIO_DEVICE_STREAM_NAME, "Oneshot: sunshine");
|
||||
SDL_SetHint(SDL_HINT_AUDIO_DEVICE_STREAM_ROLE, "Game");
|
||||
#if defined(__linux__) && SDL_VERSION_ATLEAST(3, 4, 10)
|
||||
#if defined(__linux__ || BSD || __sun) && SDL_VERSION_ATLEAST(3, 4, 10)
|
||||
SDL_SetHint(SDL_HINT_VIDEO_X11_ENABLE_XSYNC_EXT, "1");
|
||||
#endif
|
||||
//X11 work on *BSD,Solaris too!
|
||||
#if defined(__linux__) || defined(BSD) || defined(__sun)
|
||||
#if defined(__linux__ || BSD || __sun)
|
||||
SDL_SetHint(SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR, "0");
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue