Made OpenGL 1.1 use general rendering functions.