Removed useless call

Former-commit-id: 1c3d84596b5c6b61c6bb64e9067653b8d2279955
This commit is contained in:
Lynix 2015-01-08 14:20:00 +01:00
parent a9ef2f7e36
commit 703ea6e9c8
1 changed files with 0 additions and 2 deletions

View File

@ -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());