From 54aeec7a8ff6b6e5d050637b6cce8df6d9a8b633 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Sun, 13 May 2012 17:48:23 +0200 Subject: Dump the redundant "save textures" function. Use TextureCache's dumping feature instead. --- Source/Core/VideoCommon/Src/VertexManagerBase.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp') diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp index 004b0f3cca..d66da30273 100644 --- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp @@ -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"); -- cgit v1.2.3