Merge pull request #2516 from comex/hires-oops
Undo accidental screwup of some HiresTextures code from project-moration
This commit is contained in:
commit
78e0e78671
|
@ -102,8 +102,13 @@ void HiresTexture::Update()
|
|||
std::string FileName;
|
||||
SplitPath(rFilename, nullptr, &FileName, nullptr);
|
||||
|
||||
if (FileName.substr(0, code.length()) == code ||
|
||||
FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
||||
if (FileName.substr(0, code.length()) == code)
|
||||
{
|
||||
s_textureMap[FileName] = rFilename;
|
||||
s_check_native_format = true;
|
||||
}
|
||||
|
||||
if (FileName.substr(0, s_format_prefix.length()) == s_format_prefix)
|
||||
{
|
||||
s_textureMap[FileName] = rFilename;
|
||||
s_check_new_format = true;
|
||||
|
|
Loading…
Reference in New Issue