It automatically resizes any textures to the number you specify. So;

D3D_TEXLIMIT = 256;

added in the main means that all sizes greater than 256 x 256 are shrunk to that size...