mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
whoops
This commit is contained in:
parent
53df81cafa
commit
641295f884
@ -737,7 +737,8 @@ make_texture_buffer(const string &name, int x_size, int y_size,
|
|||||||
if (textures_power_2 != ATS_none) {
|
if (textures_power_2 != ATS_none) {
|
||||||
flags |= GraphicsPipe::BF_size_power_2;
|
flags |= GraphicsPipe::BF_size_power_2;
|
||||||
}
|
}
|
||||||
if (tex->get_texture_type() == Texture::TT_cube_map) {
|
if (tex != (Texture *)NULL &&
|
||||||
|
tex->get_texture_type() == Texture::TT_cube_map) {
|
||||||
flags |= GraphicsPipe::BF_size_square;
|
flags |= GraphicsPipe::BF_size_square;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user