Fix off-by-one issue on Banshee/V3 RGB565 overlay render.
This commit is contained in:
parent
49ba35733e
commit
6b96f56632
1 changed files with 1 additions and 1 deletions
|
|
@ -1658,7 +1658,7 @@ void banshee_hwcursor_draw(svga_t *svga, int displine)
|
|||
{ \
|
||||
int c; \
|
||||
int wp = 0; \
|
||||
uint32_t base_addr = buf ? src_addr2 : src_addr; \
|
||||
uint32_t base_addr = (buf == banshee->overlay_buffer[1]) ? src_addr2 : src_addr; \
|
||||
\
|
||||
for (c = 0; c < voodoo->overlay.overlay_bytes; c += 2) \
|
||||
{ \
|
||||
|
|
|
|||
Loading…
Reference in a new issue