Merge pull request #116 from Tilka/misc_fixes_fix

Fix the Windows build (broken in 315a8ba)
This commit is contained in:
Pierre Bourdon committed 2014-03-01 01:36:32 +01:00
commit 0942bdae1c
2 files changed
+2 -2

No files matched your search

@@ -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;
+1 -1
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,