mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: keep a separate log for sw
This commit is contained in:
parent
cedc8aae44
commit
db4b4fb166
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue