Thanks, it turns out that my computer uses a dual GPU system and my Intel GPU doesn't support GLES3, so when I switched to AMD instead it worked.