mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +03:00
Fix detecting rotation for "-video accel" for quadratic screen bitmaps.
[Couriersud]
This commit is contained in:
parent
5a0b62e361
commit
ea57f3ebaf
@ -897,7 +897,7 @@ texture_info::texture_info(sdl_info13 *renderer, const render_texinfo &texsource
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (setup.rotwidth != m_texinfo.width || setup.rotheight != m_texinfo.height
|
if (setup.rotwidth != m_texinfo.width || setup.rotheight != m_texinfo.height
|
||||||
|| setup.dudx < 0 || setup.dvdy < 0)
|
|| setup.dudx < 0 || setup.dvdy < 0 || (PRIMFLAG_GET_TEXORIENT(flags) != 0))
|
||||||
m_is_rotated = true;
|
m_is_rotated = true;
|
||||||
else
|
else
|
||||||
m_is_rotated = false;
|
m_is_rotated = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user