Ran `indent` on the source
I have also made a call for testing this patch over on the tuxpaint-devel mailing list (https://sourceforge.net/p/tuxpaint/mailman/tuxpaint-devel/).
Thanks @perepujal -- I've committed it in https://sourceforge.net/p/tuxpaint/tuxpaint/ci/d707ca93924f13fc4edca80c4939d89fa70ce4c1/ FYI, my system: Kubuntu 24.04.4 LTS xorg-server version 21.1.11 sdl2-config reporting 2.30.0 sdl-config reporting 1.2.68) When I run tuxpaint --fullscreen (no other options, so 800x600 mode): No VSYNC_ENABLE, and no VSYNC_WOKAROUND (same as without any patch) -- no noticeable lag With VSYNC_ENABLE, but no VSYNC_WORAROUND -- noticeable lag With VSYNC_ENABLE, and with VSYNC_WORAROUND...
Applying VSYNC workaround by Pere
Add nonstring attribute to linear_to_sRGB_table
Thanks!
Doc'ing Mirror/Flip Template fix by Pere
Mirror and Flip also for Templates