Fullscreen video at 4:3 aspect ratio is cropped

Issue #3 new
Joseba Echevarria García repo owner created an issue

When setting the video mode to fullscreen with a 4:3 aspect-ratio resolution, the image is cropped.

This can be replicated by doing: set_mode(640, 480, MODE_FULLSCREEN); in a 16:9 monitor.

Comments (1)

  1. Joseba Echevarria García reporter

    This bug might to be related with the following SDL2 commit: https://hg.libsdl.org/SDL/rev/f9cd179cf50e The bug fix is included with the recently released SDL2-2.0.4. In fact, there are differences in behaviour when running examples/12_scale_quality.prg in full screen mode with pixtudio commit bec8e51 running against SDL2 2.0.3 & 2.0.4.

    When running it with SDL2-2.0.3 it looks like this: SDL2-2.0.3.png Whereas when running it with SDL2-2.0.4 it looks like this (which seems correct): SDL2-2.0.4.png

  2. Log in to comment