From 56228cea5d4b0cb0b5ca60d697db7f9719e3635b Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 3 May 2014 14:57:45 -0400 Subject: [PATCH] BPFunctions: Remove an unused method --- Source/Core/VideoCommon/BPFunctions.cpp | 6 ------ Source/Core/VideoCommon/BPFunctions.h | 1 - 2 files changed, 7 deletions(-) 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); };