XIG [Xfire in-game]
locks the DirectX system in all IF [infinity ward] game software.

All you have to do, is close Xfire completely, start your COD software; change your resolution, and restart Xfire afterward.
As a rule of thumb, you should close XFIRE any time you change settings in Infinity ward games; anything that effects the DX engine or has to change rendering will crash the system.