gsdx: fix depth option

This commit is contained in:
Gregory Hainaut 2015-07-02 19:13:38 +02:00
parent de644c5437
commit 28815db7cc
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ GSTextureCache::GSTextureCache(GSRenderer* r)
m_paltex = !!theApp.GetConfig("paltex", 0);
m_preload_frame = theApp.GetConfig("preload_frame_with_gs_data", 0);
m_can_convert_depth = IsOpenGL() ? theApp.GetConfig("texture_cache_depth", 1) : 0;
m_can_convert_depth = theApp.GetConfig("Renderer", 12) == 12 ? theApp.GetConfig("texture_cache_depth", 1) : 0;
m_crc_hack_level = theApp.GetConfig("crc_hack_level", 3);
m_temp = (uint8*)_aligned_malloc(1024 * 1024 * sizeof(uint32), 32);