mirror of https://github.com/PCSX2/pcsx2.git
GSDX: Ignore this commit, just deleting lines of code.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5302 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
0e9a4c1663
commit
c9194b185a
|
@ -705,14 +705,9 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
GSVector4 sr(0, 0, w, h);
|
GSVector4 sr(0, 0, w, h);
|
||||||
|
|
||||||
GSTexture* st = src->m_texture ? src->m_texture : dst->m_texture;
|
GSTexture* st = src->m_texture ? src->m_texture : dst->m_texture;
|
||||||
GSTexture *dt;
|
GSTexture *dt = m_renderer->m_dev->CreateRenderTarget(w, h, false);
|
||||||
if (m_paltex && psm.pal > 0)
|
if (m_paltex && psm.pal > 0)
|
||||||
{
|
|
||||||
dt = m_renderer->m_dev->CreateRenderTarget(w, h, false);
|
|
||||||
src->m_palette = m_renderer->m_dev->CreateTexture(256, 1);
|
src->m_palette = m_renderer->m_dev->CreateTexture(256, 1);
|
||||||
}
|
|
||||||
else
|
|
||||||
dt = m_renderer->m_dev->CreateRenderTarget(w, h, false);
|
|
||||||
|
|
||||||
if(!src->m_texture)
|
if(!src->m_texture)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue