mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Kill off another d3d optimization, (nw)
This commit is contained in:
parent
a9f739df25
commit
eee821eecc
@ -2429,11 +2429,13 @@ void texture_info::set_data(const render_texinfo *texsource, uint32_t flags)
|
||||
|
||||
// loop over Y
|
||||
int tex_format = PRIMFLAG_GET_TEXFORMAT(flags);
|
||||
#if 0
|
||||
if (tex_format == TEXFORMAT_ARGB32 && texsource->palette == nullptr && texsource->width == texsource->rowpixels && m_xborderpix == 0 && m_yborderpix == 0)
|
||||
{
|
||||
memcpy((BYTE *)rect.pBits, texsource->base, sizeof(uint32_t) * texsource->width * texsource->height);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
int miny = 0 - m_yborderpix;
|
||||
int tex_format = PRIMFLAG_GET_TEXFORMAT(flags);
|
||||
|
Loading…
Reference in New Issue
Block a user