gsdx-ogl: don't force logz only on debug build

This commit is contained in:
Gregory Hainaut 2015-05-18 07:24:26 +02:00
parent eb59f8b72c
commit 540717b295
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ void GSDeviceOGL::CreateTextureFX()
m_gs = CompileGS();
int logz = theApp.GetConfig("logz", 1);
#ifndef ENABLE_OGL_DEBUG
// Don't do it in debug build, so it can still be tested
#ifndef _DEBUG
if (GLLoader::found_GL_ARB_clip_control && logz) {
fprintf(stderr, "Your driver supports advance depth. Logz will be disabled\n");
logz = 0;