Texas joined the Union with boundaries extending to the Rio Grande, but its western/northern claims overlapped with future territories.
Texas ceded its claims north of 36°30′ and west of the 103rd meridian to the federal government, which created the New Mexico Territory (including parts of present-day CO, NM, AZ). Texas received $10M in debt relief.
Further northern lands were organized into the Colorado Territory (later Colorado and Wyoming states), finalizing Texas's modern panhandle and western border.
Since 1860, Texas's borders have remained unchanged.