Sorry to hear that.

Yes indeed many dogs die of heat prostration, all the time, especially black dogs (and especially again if they're hyper).

Did he have an area of total shade?
Did he have a water bucket where he could soak his whole body?

Those two elements usually will prevent heat prostration, but not always.

Jack