mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user