Changed GLUT functions to SDL functions.