Removed some redundant OpenGL state change calls