diff --git a/src/hwrenderer/textures/hw_material.cpp b/src/hwrenderer/textures/hw_material.cpp index d24f0d69a1..b07a7be4c7 100644 --- a/src/hwrenderer/textures/hw_material.cpp +++ b/src/hwrenderer/textures/hw_material.cpp @@ -133,8 +133,6 @@ void IHardwareTexture::Resize(int swidth, int sheight, int width, int height, un // Constructor // //=========================================================================== -TArray FMaterial::mMaterials; -int FMaterial::mMaxBound; FMaterial::FMaterial(FTexture * tx, bool expanded) { @@ -227,8 +225,6 @@ FMaterial::FMaterial(FTexture * tx, bool expanded) SetSpriteRect(); mTextureLayers.ShrinkToFit(); - mMaxBound = -1; - mMaterials.Push(this); tx->Material[expanded] = this; if (tx->isHardwareCanvas()) tx->bTranslucent = 0; } @@ -241,15 +237,6 @@ FMaterial::FMaterial(FTexture * tx, bool expanded) FMaterial::~FMaterial() { - for(unsigned i=0;i mMaterials; - static int mMaxBound; - TArray mTextureLayers; int mShaderIndex;