curl headers updated, fix in RenderState (for OpenGL 3 and glDrawBuffers)