Standalone application based on SDL2 that turns your desktop audio into awesome visuals. Available on most platforms supported by both libprojectM and libSDL2.
GNU General Public License v3.0
57
stars
32
forks
source link
Check viewport size every frame and resize projectM if changed. #34
SDL's resize events are sometimes unreliable, e.g, if using the green "fullscreen" button on macOS or toggling to the borderless, non-exclusive fullscreen mode on Linux. Getting the GL drawable size is fast and also reliable, so we can simply check it on each frame. Will also take care of DPI changes.
SDL's resize events are sometimes unreliable, e.g, if using the green "fullscreen" button on macOS or toggling to the borderless, non-exclusive fullscreen mode on Linux. Getting the GL drawable size is fast and also reliable, so we can simply check it on each frame. Will also take care of DPI changes.