-
-
Notifications
You must be signed in to change notification settings - Fork 418
Description
Hi,
I've been learning how to use libprojectM, and thought this issue was due to my misunderstanding of the library, but noticed the exact same problem occurs for the SDL and Qt/pulseaudio versions compiled from the current git master.
It appears that something goes wrong during the resize of the GL viewport or similar (the call to projectM_resetGL does not seem to resize as expected). It seems the correct window size is being passed to libprojectM, stored in the settings struct and passed on to the Renderer, but from there I can't see what is going wrong.
This can easily be seen by running the SDL or Qt version, and then resizing the window. If shrinking the window, the rendering gets cropped, like only part of the image is copied onto the window surface. If enlarging the window, the resolution does not increase, and instead the original size image is stretched/scaled to fill the window (if the code is modified to start with a small window size, this effect is more noticeable). A screenshot is attached, showing artefacts from the partial rendering only into the upper-left corner after shrinking of the window.
I've reproduced this on both Ubuntu 16.04 and Arch Linux (both x86_64).
