summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-20 02:01:54 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-20 02:01:54 -0600
commiteae20b77a8b5205611fc778d97e4b903318d1ceb (patch)
tree1a5a84bf49ef211099abdb6a765d781c484ff5d6 /Source/Core/VideoCommon/Src/BPStructs.cpp
parent55c2a017449edf9e4d4c7968013fe19d8cee6cd4 (diff)
Remove some unneeded sampler-related calls in BPStructs.
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index af5161582c..c7159b8783 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -578,8 +578,6 @@ void BPWritten(const BPCmd& bp)
// ------------------------
case BPMEM_TX_SETMODE0: // (0x90 for linear)
case BPMEM_TX_SETMODE0_4:
- // Shouldn't need to call this here, we call it for each active texture right before rendering
- SetTextureMode(bp);
break;
case BPMEM_TX_SETMODE1:
@@ -722,14 +720,6 @@ void BPReload()
SetColorMask();
OnPixelFormatChange();
{
- BPCmd bp = {BPMEM_TX_SETMODE0, 0xFFFFFF, static_cast<int>(((u32*)&bpmem)[BPMEM_TX_SETMODE0])};
- SetTextureMode(bp);
- }
- {
- BPCmd bp = {BPMEM_TX_SETMODE0_4, 0xFFFFFF, static_cast<int>(((u32*)&bpmem)[BPMEM_TX_SETMODE0_4])};
- SetTextureMode(bp);
- }
- {
BPCmd bp = {BPMEM_FIELDMASK, 0xFFFFFF, static_cast<int>(((u32*)&bpmem)[BPMEM_FIELDMASK])};
SetInterlacingMode(bp);
}