Menu

#399 Force SDL fullscreen mode

v1.5.1
closed-accepted
nobody
UI (9) SDL (2)
5
2018-02-28
2018-02-04
No

This litte patch add --sdl-fullscreen-mode command line switch. With this switch, we can list all available video modes detected as full screen capable modes, and can force to fuse use one of them for fullscreen..
e.g.:

fuse@fuse:~fuse$ fuse --sdl-fullscreen-mode list

List modes:

=====================================================================
 List of available SDL fullscreen modes:
---------------------------------------------------------------------
  No. width height
---------------------------------------------------------------------
  1   1920  1080
  2   1680  1050
  3   1280  1024
  4   1152   864
  5   1024   768
  6    800   600
  7    720   400
  8    640   480
=====================================================================
fuse@fuse:~fuse$ fuse --sdl-fullscreen-mode 5

Select mode 5 -> 1024x768

Or:

fuse@fuse:~fuse$ fuse --sdl-fullscreen-mode 960x720

Try to set a 960x720 screen resolution.

1 Attachments

Discussion

  • Gergely Szasz

    Gergely Szasz - 2018-02-10

    Here is a new patch. It
    add some line about --sdl-fullscreen-mode command line switch to fuse.1 and
    and center the screen in fullscreen mode .

     
  • Sergio Baldoví

    Sergio Baldoví - 2018-02-11
    • Group: future --> NextRelease
     
  • Sergio Baldoví

    Sergio Baldoví - 2018-02-11

    Looks good to me. I'll commit next week barring objections.

     
  • Sergio Baldoví

    Sergio Baldoví - 2018-02-18
    • status: open --> pending-accepted
     
  • Sergio Baldoví

    Sergio Baldoví - 2018-02-18

    Thanks. Committed in [95c7be].

     

    Related

    Commit: [95c7be]

  • Fredrick Meunier

    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.