fix textures-auto-power-2

This commit is contained in:
David Rose 2012-03-05 19:14:00 +00:00
parent fff971a04c
commit 95c7d74a4d

View File

@ -2548,7 +2548,7 @@ adjust_size(int &x_size, int &y_size, const string &name,
AutoTextureScale ats = auto_texture_scale; AutoTextureScale ats = auto_texture_scale;
if (ats == ATS_unspecified) { if (ats == ATS_unspecified) {
ats = textures_power_2; ats = get_textures_power_2();
} }
if (!for_padding && ats == ATS_pad) { if (!for_padding && ats == ATS_pad) {
// If we're not calculating the padding size--that is, we're // If we're not calculating the padding size--that is, we're