Fix SDL-GL calls