mirror of https://github.com/PCSX2/pcsx2.git
GS/OpenGL: Use CreateRenderTarget() for temp HDR target
Probably won't change much, except maybe with sparse textures, where it'll use less video memory.
This commit is contained in:
parent
01855fc66a
commit
1e198fbb83
|
@ -1381,7 +1381,7 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour
|
|||
|
||||
if (m_ps_sel.hdr)
|
||||
{
|
||||
hdr_rt = dev->CreateTexture(rtsize.x, rtsize.y, GL_RGBA32F);
|
||||
hdr_rt = dev->CreateRenderTarget(rtsize.x, rtsize.y, GL_RGBA32F);
|
||||
dev->OMSetRenderTargets(hdr_rt, ds, &scissor);
|
||||
|
||||
// save blend state, since BlitRect destroys it
|
||||
|
|
Loading…
Reference in New Issue