3 year old no bathroom use in 24 hrs

So, my 3 year old son hasnt went to the bathroom all day. Im waiting for the on call dr to call me back but Im so worried? He has drank ALOT and ate ALOT he says he has no pain. He does have an undescended testicle (he has surgery for it in January) idk if that could cause it to happen?