gsdx-ogl: add texture commit ogl renderer

This commit is contained in:
Kojin 2019-02-14 12:28:31 -05:00 committed by lightningterror
parent ba782e90c8
commit 4e675ef6e1
1 changed files with 8 additions and 0 deletions

View File

@ -1298,6 +1298,14 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
dev->SetupPipeline(m_vs_sel, m_gs_sel, m_ps_sel);
GSVector4i commitRect = ComputeBoundingBox(rtscale, rtsize);
if (rt)
rt->CommitRegion(GSVector2i(commitRect.z, commitRect.w));
if (ds)
ds->CommitRegion(GSVector2i(commitRect.z, commitRect.w));
if (DATE_GL42) {
GL_PUSH("Date GL42");
// It could be good idea to use stencil in the same time.