From 703ea6e9c8e14f6ec966446a02e0f38fd950f194 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 8 Jan 2015 14:20:00 +0100 Subject: [PATCH] Removed useless call Former-commit-id: 1c3d84596b5c6b61c6bb64e9067653b8d2279955 --- src/Nazara/Graphics/GuillotineTextureAtlas.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp index 7ff8bfa0c..20e4c6db4 100644 --- a/src/Nazara/Graphics/GuillotineTextureAtlas.cpp +++ b/src/Nazara/Graphics/GuillotineTextureAtlas.cpp @@ -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(layer.image.get());