From 95c7d74a4dc0b198a21d3cd1b411664d2f023bf3 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 5 Mar 2012 19:14:00 +0000 Subject: [PATCH] fix textures-auto-power-2 --- panda/src/gobj/texture.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/texture.cxx b/panda/src/gobj/texture.cxx index 13b8f86af6..db76379d68 100644 --- a/panda/src/gobj/texture.cxx +++ b/panda/src/gobj/texture.cxx @@ -2548,7 +2548,7 @@ adjust_size(int &x_size, int &y_size, const string &name, AutoTextureScale ats = auto_texture_scale; if (ats == ATS_unspecified) { - ats = textures_power_2; + ats = get_textures_power_2(); } if (!for_padding && ats == ATS_pad) { // If we're not calculating the padding size--that is, we're