(GL) opengl_state_machine.c - cleanups