Early return for OpenGL state machine functions