mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
Merge pull request #116 from Tilka/misc_fixes_fix
Fix the Windows build (broken in 315a8ba)
This commit is contained in:
commit
0942bdae1c
@ -32,7 +32,7 @@ void TextureCache::TCacheEntry::Bind(unsigned int stage)
|
||||
D3D::context->PSSetShaderResources(stage, 1, &texture->GetSRV());
|
||||
}
|
||||
|
||||
bool TextureCache::TCacheEntry::Save(const std::string filename, unsigned int level)
|
||||
bool TextureCache::TCacheEntry::Save(const std::string& filename, unsigned int level)
|
||||
{
|
||||
// TODO: Somehow implement this (D3DX11 doesn't support dumping individual LODs)
|
||||
static bool warn_once = true;
|
||||
|
@ -35,7 +35,7 @@ private:
|
||||
const float *colmat);
|
||||
|
||||
void Bind(unsigned int stage);
|
||||
bool Save(const std::string filename, unsigned int level);
|
||||
bool Save(const std::string& filename, unsigned int level);
|
||||
};
|
||||
|
||||
TCacheEntryBase* CreateTexture(unsigned int width, unsigned int height,
|
||||
|
Loading…
x
Reference in New Issue
Block a user