Skip to content
Snippets Groups Projects
Commit 4ce56759 authored by deuce's avatar deuce
Browse files

Fix remote framebuffer test.

parent f516611b
No related branches found
No related tags found
No related merge requests found
...@@ -588,7 +588,7 @@ int SDL_main_env(int argc, char **argv, char **env) ...@@ -588,7 +588,7 @@ int SDL_main_env(int argc, char **argv, char **env)
* This ugly hack attempts to prevent this... of course, remote X11 * This ugly hack attempts to prevent this... of course, remote X11
* connections must still be allowed. * connections must still be allowed.
*/ */
if((!use_sdl_video) || getenv("REMOTEHOST")!=NULL && getenv("DISPLAY")==NULL) { if((!use_sdl_video) || (getenv("REMOTEHOST")!=NULL && getenv("DISPLAY")==NULL)) {
/* Sure ,we can't use video, but audio is still valid! */ /* Sure ,we can't use video, but audio is still valid! */
if(sdl.Init(0)==0) if(sdl.Init(0)==0)
sdl_initialized=TRUE; sdl_initialized=TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment