gsdx ogl: Only enable advance DATE when user request it

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5864 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2014-02-01 18:46:18 +00:00
parent 061f357618
commit 6cf75e086b
1 changed files with 3 additions and 1 deletions

View File

@ -210,8 +210,10 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
dev->SetupDATE(rt, ds, vertices, m_context->TEST.DATM);
}
// Create an r32ui image that will containt primitive ID
dev->InitPrimDateTexture(rtsize.x, rtsize.y);
if (UserHacks_DateGL4 && GLLoader::found_GL_ARB_shader_image_load_store)
dev->InitPrimDateTexture(rtsize.x, rtsize.y);
}
//