Menu

#366 SDL custom fullscreen mode is broken

v2.4
closed-fixed
nobody
None
SDL
User Interface
2016-02-27
2013-01-02
No

The "custom" fullscreen mode doesn't use the given (custom) width/height settings for the resolution, resulting in unexpected resolution switching. Descriptive log comparison:

--

vice-2.3 $ src/x64 -config nosuchfile -VICIIhwscale -sdlcustomw 1280 -sdlcustomh 1024 -VICIISDLfullmode 1 -VICIIfull
*** VICE Version 2.3 ***
OS compiled for: Linux
GUI compiled for: SDL
CPU compiled for: AMD64/x86_64
Compiler used: GCC-4.5.4
[...]
Drive: Finished loading ROM images.
SDLVideo: Warning - bitdepth not set for OpenGL, trying 32...
SDLVideo: 1280x1024 32bpp OpenGL (fullscreen)
SDLVideo: 1280x1024 32bpp OpenGL (fullscreen)

--

vice-2.4 $ src/x64 -config nosuchfile -VICIIhwscale -sdlcustomw 1280 -sdlcustomh 1024 -VICIISDLfullmode 1 -VICIIfull
*** VICE Version 2.4 ***
OS compiled for: Linux
GUI compiled for: SDL
CPU compiled for: AMD64/x86_64
Compiler used: GCC-4.5.4
[...]
SDLVideo: Warning - bitdepth not set for OpenGL, trying 32...
SDLVideo: 719x544 32bpp OpenGL (fullscreen)

--

SDL decides on 800x600 on the latter (broken) case, as it would on the "automatic" fullscreen mode. The expected result is using 1280x1024 as the resolution (as in 2.3).

Discussion

  • gpz

    gpz - 2013-02-26
    • priority: 5 --> 3
     
  • gpz

    gpz - 2013-06-16
    • Group: v2.4 - SDL --> v2.4
    • Port: --> SDL
     
  • gpz

    gpz - 2013-06-16
    • labels: User Interface -->
    • Category: --> User Interface
     
  • gpz

    gpz - 2013-07-10
    • status: open --> pending-fixed
     
  • gpz

    gpz - 2013-07-10

    fixed in r27531.

     
  • Marco van den Heuvel

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB