Heterologous expression of fungal AcGDH alleviates ammonium toxicity and suppresses photorespiration, thereby improving drought tolerance in rice.