Reduce code. Add glFinish().