I feel like Apple's approach to hardware made their job much easier -- they just ensured that every retina Mac had a display with exactly 2x the pixels as its pre-retina equivalent, so they never had to deal with fractional scaling like Windows often does.