What do you mean by "to make up for Texas"?
Why would Texas need to be made up for?
It's my understanding that TX was a part of Mexico until the 1830s. I could be mistaken, as I only lived there for a year. Either way, they're welcome to CA. I note that you're not objecting to that.
O.k., I misunderstood your point. My bad.
Yes, Texas was part of Mexico, and yes they are welcome to California. That said, Texas, New Mexico, Arizona, California and (I think) portions of Colorado, Nevada and Utah were all the same chunk of land taken from Mexico in the war you reference.
Let's go ahead and throw in New York city, DC, Chicago, downstate Massachussets, and upstate Connecticut as long as we're feeling generous.
If they want to get rid of more of their arid land and poor people, we could take their northern semi-desert area bordering west Texas/New Mexico/Arizona in exchange.
We'd come out far the better in that deal, I think. They can have the *rich morons, and we'll take the paupers with a good work ethic.
*Not that being rich makes you a moron.