We report on measurements of second-order intensity correlations at the high-brilliance storage ring PETRA III using a prototype of the newly developed adaptive gain integrating pixel detector. The detector records individual synchrotron radiation pulses with an x-ray photon energy of 14.4 keV and repetition rate of about 5 MHz. The second-order intensity correlation function is measured simultaneously at different spatial separations, which allows us to determine the transverse coherence length at these x-ray energies. The measured values are in a good agreement with theoretical simulations based on the Gaussian Schell model.