mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
fix textures-auto-power-2
This commit is contained in:
parent
fff971a04c
commit
95c7d74a4d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user