diff options
| author | Yuriy O'Donnell <yuriyo@gmail.com> | 2014-12-06 14:54:06 +0100 |
|---|---|---|
| committer | Yuriy O'Donnell <yuriyo@gmail.com> | 2014-12-07 18:45:50 +0100 |
| commit | 4392d3cd55f4b39ae6006702ff6466867609e2a3 (patch) | |
| tree | 5d9df7aa5318961ad78ebb94e5dbba4ead64c03a /Source/Core/VideoBackends/D3D/TextureCache.cpp | |
| parent | 80459c52e98141a2e40fb9ad8992d5ba7d790765 (diff) | |
D3D: Fixed StateManager member function name case
Diffstat (limited to 'Source/Core/VideoBackends/D3D/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/TextureCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D/TextureCache.cpp b/Source/Core/VideoBackends/D3D/TextureCache.cpp index 3312eb9d48..4ed4d6045f 100644 --- a/Source/Core/VideoBackends/D3D/TextureCache.cpp +++ b/Source/Core/VideoBackends/D3D/TextureCache.cpp @@ -30,7 +30,7 @@ TextureCache::TCacheEntry::~TCacheEntry() void TextureCache::TCacheEntry::Bind(unsigned int stage) { - D3D::stateman->setTexture(stage, texture->GetSRV()); + D3D::stateman->SetTexture(stage, texture->GetSRV()); } bool TextureCache::TCacheEntry::Save(const std::string& filename, unsigned int level) @@ -144,7 +144,7 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo CHECK(SUCCEEDED(hr), "Create efb copy constant buffer %d", cbufid); D3D::SetDebugObjectName((ID3D11DeviceChild*)efbcopycbuf[cbufid], "a constant buffer used in TextureCache::CopyRenderTargetToTexture"); } - D3D::stateman->setPixelConstants(efbcopycbuf[cbufid]); + D3D::stateman->SetPixelConstants(efbcopycbuf[cbufid]); const TargetRectangle targetSource = g_renderer->ConvertEFBRectangle(srcRect); // TODO: try targetSource.asRECT(); |
