The SDL2 sample works now, but has quite a bit of inline C