Updated to SDL 2 and finally knew what I was doing.