mirror of https://github.com/PCSX2/pcsx2.git
GSDX: CT32 -> T8H, need to use a 32 bit D3D format for the texture so that they have compatible D3D types for the copy (don't have to if using StretchRect but might as well).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5299 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b769a79d22
commit
14acb81553
|
@ -707,7 +707,7 @@ GSTextureCache::Source* GSTextureCache::CreateSource(const GIFRegTEX0& TEX0, con
|
||||||
GSTexture *dt;
|
GSTexture *dt;
|
||||||
if (m_paltex && psm.pal > 0)
|
if (m_paltex && psm.pal > 0)
|
||||||
{
|
{
|
||||||
dt = m_renderer->m_dev->CreateRenderTarget(w, h, false, Get8bitFormat());
|
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
|
else
|
||||||
|
|
Loading…
Reference in New Issue