Found a native SDL method to save screens as .bmp files, way easier than using stuff other people dreamt up.