std::string can't be passed to ... format.
This commit is contained in:
parent
ea3990a41b
commit
f4a1f183b9
|
@ -98,7 +98,7 @@ void DumpActiveTextures()
|
||||||
for (s32 mip = 0; mip <= maxLod; ++mip)
|
for (s32 mip = 0; mip <= maxLod; ++mip)
|
||||||
{
|
{
|
||||||
SaveTexture(StringFromFormat("%star%i_ind%i_map%i_mip%i.png",
|
SaveTexture(StringFromFormat("%star%i_ind%i_map%i_mip%i.png",
|
||||||
File::GetUserPath(D_DUMPTEXTURES_IDX),
|
File::GetUserPath(D_DUMPTEXTURES_IDX).c_str(),
|
||||||
swstats.thisFrame.numDrawnObjects, stageNum, texmap, mip), texmap, mip);
|
swstats.thisFrame.numDrawnObjects, stageNum, texmap, mip), texmap, mip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ void DumpActiveTextures()
|
||||||
for (s32 mip = 0; mip <= maxLod; ++mip)
|
for (s32 mip = 0; mip <= maxLod; ++mip)
|
||||||
{
|
{
|
||||||
SaveTexture(StringFromFormat("%star%i_stage%i_map%i_mip%i.png",
|
SaveTexture(StringFromFormat("%star%i_stage%i_map%i_mip%i.png",
|
||||||
File::GetUserPath(D_DUMPTEXTURES_IDX),
|
File::GetUserPath(D_DUMPTEXTURES_IDX).c_str(),
|
||||||
swstats.thisFrame.numDrawnObjects, stageNum, texmap, mip), texmap, mip);
|
swstats.thisFrame.numDrawnObjects, stageNum, texmap, mip), texmap, mip);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue