gsdx ogl: keep a separate log for sw

This commit is contained in:
Gregory Hainaut 2016-10-25 22:00:41 +02:00
parent cedc8aae44
commit db4b4fb166
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ GSDeviceOGL::GSDeviceOGL()
// Reset the debug file
#ifdef ENABLE_OGL_DEBUG
m_debug_gl_file = fopen("GSdx_opengl_debug.txt","w");
if (static_cast<GSRendererType>(theApp.GetConfigI("Renderer")) == GSRendererType::OGL_SW)
m_debug_gl_file = fopen("GSdx_opengl_debug_sw.txt","w");
else
m_debug_gl_file = fopen("GSdx_opengl_debug_hw.txt","w");
#endif
m_debug_gl_call = theApp.GetConfigB("debug_opengl");