mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
061f357618
commit
6cf75e086b
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue