mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
ksbsksj
This commit is contained in:
parent
278f016684
commit
3fc7e4f355
3 changed files with 2 additions and 4 deletions
|
|
@ -16,3 +16,5 @@ Exec=$install_path/oneshot
|
||||||
Icon=$install_path/icon.png
|
Icon=$install_path/icon.png
|
||||||
Categories=Game;
|
Categories=Game;
|
||||||
""" > $HOME/.local/share/applications/sunshine.desktop
|
""" > $HOME/.local/share/applications/sunshine.desktop
|
||||||
|
|
||||||
|
echo "Done!"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ cd `dirname $0`
|
||||||
|
|
||||||
# User-configurable variables.
|
# User-configurable variables.
|
||||||
linux_version="0.1.0"
|
linux_version="0.1.0"
|
||||||
make_threads=8
|
|
||||||
oneshot_id=420530
|
oneshot_id=420530
|
||||||
STEAMWORKS_PATH=$(realpath ..)/steamworks
|
STEAMWORKS_PATH=$(realpath ..)/steamworks
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -113,8 +113,6 @@ int rgssThreadFun(void *userdata){
|
||||||
|
|
||||||
bool vsync = conf.vsync || conf.syncToRefreshrate;
|
bool vsync = conf.vsync || conf.syncToRefreshrate;
|
||||||
SDL_GL_SetSwapInterval(vsync ? 1 : 0);
|
SDL_GL_SetSwapInterval(vsync ? 1 : 0);
|
||||||
if (vsync)
|
|
||||||
SDL_SetHint(SDL_HINT_RENDER_VSYNC, "1");
|
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
GLDebugLogger dLogger;
|
GLDebugLogger dLogger;
|
||||||
|
|
@ -229,7 +227,6 @@ int main(int argc, char *argv[]){
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* initialize SDL first */
|
/* initialize SDL first */
|
||||||
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMEPAD) == false){
|
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK | SDL_INIT_GAMEPAD) == false){
|
||||||
showInitError(std::string("Error initializing SDL: ") + SDL_GetError());
|
showInitError(std::string("Error initializing SDL: ") + SDL_GetError());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue