_common_depth_to_pixelformat() returns -1 and not zero, if a mode is