summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
diff options
context:
space:
mode:
authorShawn Hoffman <godisgovernment@gmail.com>2009-02-04 17:33:59 +0000
committerShawn Hoffman <godisgovernment@gmail.com>2009-02-04 17:33:59 +0000
commit7b7cfa940ebbe5905e88c223503daa2edfaaa2ce (patch)
tree0c2209c3e1401e87e4817b965bf3e95526ed60c7 /Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
parentad88b27c7625b1577dd0c5cc656f3cbb73e6aac9 (diff)
remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp b/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
index bf73221492..e0c4b292cf 100644
--- a/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
+++ b/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp
@@ -205,10 +205,10 @@ void Flush()
PixelShaderManager::SetTexDims(i, tentry->w, tentry->h, 0, 0);
TextureMngr::EnableTex2D(i);
}
- if (g_Config.iLog & CONF_PRIMLOG) {
+ if (g_Config.iLog & CONF_SAVETEXTURES) {
// save the textures
char strfile[255];
- sprintf(strfile, "frames/tex%.3d_%d.tga", g_Config.iSaveTargetId, i);
+ sprintf(strfile, "%sframes/tex%.3d_%d.tga", FULL_DUMP_DIR, g_Config.iSaveTargetId, i);
SaveTexture(strfile, tentry->isNonPow2?GL_TEXTURE_RECTANGLE_ARB:GL_TEXTURE_2D, tentry->texture, tentry->w, tentry->h);
}
}
@@ -269,20 +269,20 @@ void Flush()
}
#if defined(_DEBUG) || defined(DEBUGFAST)
- if (g_Config.iLog & CONF_PRIMLOG) {
+ if (g_Config.iLog & CONF_SAVESHADERS) {
// save the shaders
char strfile[255];
- sprintf(strfile, "frames/ps%.3d.txt", g_Config.iSaveTargetId);
+ sprintf(strfile, "%sframes/ps%.3d.txt", FULL_DUMP_DIR, g_Config.iSaveTargetId);
std::ofstream fps(strfile);
fps << ps->strprog.c_str();
- sprintf(strfile, "frames/vs%.3d.txt", g_Config.iSaveTargetId);
+ sprintf(strfile, "%sframes/vs%.3d.txt", FULL_DUMP_DIR, g_Config.iSaveTargetId);
std::ofstream fvs(strfile);
fvs << vs->strprog.c_str();
}
if (g_Config.iLog & CONF_SAVETARGETS) {
char str[128];
- sprintf(str, "frames/targ%.3d.tga", g_Config.iSaveTargetId);
+ sprintf(str, "%sframes/targ%.3d.tga", FULL_DUMP_DIR, g_Config.iSaveTargetId);
Renderer::SaveRenderTarget(str, 0);
}
#endif