From 18760d662269af80ec302873f197008ee9eeac17 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 16 Apr 2020 00:23:40 +0200 Subject: [PATCH] - deleted unused function. --- src/common/textures/hw_material.cpp | 6 ------ src/common/textures/hw_material.h | 1 - 2 files changed, 7 deletions(-) diff --git a/src/common/textures/hw_material.cpp b/src/common/textures/hw_material.cpp index 3a97d5a239..2aa81199ff 100644 --- a/src/common/textures/hw_material.cpp +++ b/src/common/textures/hw_material.cpp @@ -179,12 +179,6 @@ FMaterial * FMaterial::ValidateTexture(FGameTexture * gtex, bool expand, bool cr return NULL; } -FMaterial * FMaterial::ValidateTexture(FTextureID no, bool expand, bool translate, bool create) -{ - return ValidateTexture(TexMan.GetGameTexture(no, translate), expand, create); -} - - void DeleteMaterial(FMaterial* mat) { delete mat; diff --git a/src/common/textures/hw_material.h b/src/common/textures/hw_material.h index 0f8fd8dad9..e1e27e3db8 100644 --- a/src/common/textures/hw_material.h +++ b/src/common/textures/hw_material.h @@ -59,7 +59,6 @@ public: static FMaterial *ValidateTexture(FGameTexture * tex, bool expand, bool create = true); - static FMaterial *ValidateTexture(FTextureID no, bool expand, bool trans, bool create = true); const TArray &GetLayerArray() const { return mTextureLayers;