Refactored gl_state out of the engine. Now static variable in engine_graphics