Fix for the SDL2 samples