diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp index aa2343d97a..ae93e8077a 100644 --- a/Source/Core/VideoCommon/BPFunctions.cpp +++ b/Source/Core/VideoCommon/BPFunctions.cpp @@ -244,12 +244,6 @@ u8 *GetPointer(const u32 &address) return Memory::GetPointer(address); } -// Never used. All backends call SetSamplerState in VertexManager::Flush -void SetTextureMode(const BPCmd &bp) -{ - g_renderer->SetSamplerState(bp.address & 3, (bp.address & 0xE0) == 0xA0); -} - void SetInterlacingMode(const BPCmd &bp) { // TODO diff --git a/Source/Core/VideoCommon/BPFunctions.h b/Source/Core/VideoCommon/BPFunctions.h index 77b7f86c91..53c0af0861 100644 --- a/Source/Core/VideoCommon/BPFunctions.h +++ b/Source/Core/VideoCommon/BPFunctions.h @@ -37,6 +37,5 @@ void ClearScreen(const EFBRectangle &rc); void OnPixelFormatChange(); u8 *GetPointer(const u32 &address); bool GetConfig(const int &type); -void SetTextureMode(const BPCmd &bp); void SetInterlacingMode(const BPCmd &bp); };