mirror of
https://github.com/libretro/mgba.git
synced 2024-11-28 18:50:34 +00:00
Fix window edge case that might cause 0-width windows to draw
This commit is contained in:
parent
a855f53355
commit
900d1684a9
@ -1114,6 +1114,9 @@ static inline void _compositeNoBlendNoObjwin(struct GBAVideoSoftwareRenderer* re
|
||||
/* TODO: ensure tiles are properly aligned from this*/ \
|
||||
end = renderer->end; \
|
||||
} \
|
||||
if (end == outX) { \
|
||||
return; \
|
||||
} \
|
||||
DRAW_BACKGROUND_MODE_0_TILE_SUFFIX_ ## BPP (BLEND, OBJWIN) \
|
||||
} \
|
||||
if (inX & 0x7 || (renderer->end - renderer->start) & 0x7) { \
|
||||
|
Loading…
Reference in New Issue
Block a user