Removed useless call
Former-commit-id: 1c3d84596b5c6b61c6bb64e9067653b8d2279955
This commit is contained in:
parent
a9ef2f7e36
commit
703ea6e9c8
|
|
@ -12,8 +12,6 @@ bool NzGuillotineTextureAtlas::ResizeImage(Layer& layer, const NzVector2ui& size
|
|||
NzTexture newTexture;
|
||||
if (newTexture.Create(nzImageType_2D, nzPixelFormat_A8, size.x, size.y, 1, 0xFF))
|
||||
{
|
||||
newTexture.EnableMipmapping(true);
|
||||
|
||||
if (layer.image)
|
||||
{
|
||||
NzTexture& texture = *static_cast<NzTexture*>(layer.image.get());
|
||||
|
|
|
|||
Loading…
Reference in New Issue