change CreateAngleResources to CreateGLResources