updating opengl for the new renderer arch