Fullscreen mode on Linux?

General information and assistance with OpenGLide.

Fullscreen mode on Linux?

Postby Zirias » 2010-5-09 @ 14:19

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
Zirias
Newbie
 
Posts: 39
Joined: 2010-5-08 @ 07:22

Re: Fullscreen mode on Linux?

Postby gulikoza » 2010-5-09 @ 15:23

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:
Code: Select all
    {   // 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).
User avatar
gulikoza
Oldbie
 
Posts: 1705
Joined: 2004-6-25 @ 14:53


Return to OpenGLide General

Who is online

Users browsing this forum: No registered users and 1 guest