Dump the redundant "save textures" function. Use TextureCache's dumping feature instead.

This commit is contained in:
NeoBrainX
2012-05-13 17:48:23 +02:00
parent 72e83140f0
commit 54aeec7a8f
3 changed files with 0 additions and 20 deletions

View File

@ -243,15 +243,6 @@ void VertexManager::Flush()
{
// 0s are probably for no manual wrapping needed.
PixelShaderManager::SetTexDims(i, tentry->nativeW, tentry->nativeH, 0, 0);
// TODO:
//if (g_ActiveConfig.iLog & CONF_SAVETEXTURES)
//{
// // save the textures
// char strfile[255];
// sprintf(strfile, "%stex%.3d_%d.tga", File::GetUserPath(D_DUMPFRAMES_IDX).c_str(), g_Config.iSaveTargetId, i);
// SaveTexture(strfile, GL_TEXTURE_2D, tentry->texture, tentry->w, tentry->h);
//}
}
else
ERROR_LOG(VIDEO, "error loading texture");