fix gl variable in RenderTexture.resize