VOGONS


First post, by Zirias

User metadata
Rank Newbie
Rank
Newbie

Should fullscreen mode on linux work? actually, Openglide (as built from CVS two days ago) ignores the InitFullScreen=1 setting in OpenGLid.ini on my machine, so if this actually should work on linux, what could I check?

TIA, Felix

Reply 1 of 1, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Are you using native or SDL version? (SDL is built by default if libraries are detected by configure).

Native version requires video mode extension:
platform/linux/window.cpp:

    {   // Determine presence of video mode extension
int major = 0, minor = 0;
vidmode_ext = XF86VidModeQueryVersion (dpy, &major, &minor) != 0;
}

if (vidmode_ext && UserConfig.InitFullScreen)
mode_changed = SetScreenMode( width, height );

SDL version will ignore InitFullScreen if SDL was already initialized before openglide (dosbox for example...) and will preserve the setting (it runs in fullscreen if the SDL application calling openglide already runs in fullscreen).

http://www.si-gamer.net/gulikoza