« Previous | Next » 

Revision 2a8ad7da

ID2a8ad7da542dc52b98aff3219e1c202bb1b09895

Added by Jan Kiszka over 12 years ago

sdl: Fix full screen toggling from scaled mode

When switching to full screen mode from a scaled window, we need to
resize to DisplayState's dimension, not the scaled "real" screen size.
Moreover, scaling mode may have manipulated the bpp. So we need to
restore it from the DisplayState as well.

CC: Stefano Stabellini <>
Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences