added opengl resource