gsdx-tc: use the virtual function to check the state

This ways it will be disabled for dx
This commit is contained in:
Gregory Hainaut 2015-06-10 15:37:56 +02:00
parent de189b67a2
commit 7ee3dbd615
1 changed files with 1 additions and 1 deletions

View File

@ -974,7 +974,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
GSTextureCache::Target* GSTextureCache::CreateTarget(const GIFRegTEX0& TEX0, int w, int h, int type)
{
Target* t = new Target(m_renderer, TEX0, m_temp, m_can_convert_depth);
Target* t = new Target(m_renderer, TEX0, m_temp, CanConvertDepth());
// FIXME: initial data should be unswizzled from local mem in Update() if dirty