Fix the Windows build (broken in 315a8ba)

This commit is contained in:
Tillmann Karras 2014-03-01 01:33:19 +01:00
parent bc844a168f
commit 7c93f2dc23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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,