R_FlushQuad: fix column flush on odd width resolutions
lets hope this is the end of our software woes Zzz...
This commit is contained in:
parent
bd08b0c39d
commit
07d054f3ad
1 changed files with 2 additions and 2 deletions
|
|
@ -156,8 +156,8 @@ static void R_FlushQuad(void)
|
|||
|
||||
if constexpr (Type & ColumnFlushType::FLUSH_OPAQUE)
|
||||
{
|
||||
// aligned copy
|
||||
if (((uintptr_t)dest & 7) == 0)
|
||||
// aligned copy -- make sure our dest ptr AND viewwidth are a multiple of 8!
|
||||
if (((uintptr_t)dest & 7) == 0 && (stride & 7) == 0)
|
||||
{
|
||||
const INT64 *source64 = reinterpret_cast<const INT64 *>(source);
|
||||
INT64 *dest64 = reinterpret_cast<INT64 *>(dest);
|
||||
|
|
|
|||
Loading…
Reference in a new issue