driver/framebuffer.cpp: fix

This commit is contained in:
[CST] Focus
2013-01-18 11:10:35 +04:00
parent e7833b099f
commit 03ee79aaf0

View File

@@ -750,13 +750,14 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
}
ioctl(fd, FBIO_FILL_RECT, &fillrect);
return;
}
}
#else
#endif
while (line < dy) {
paintHLineRelInternal(x+ofl, dx-ofl-ofr, y+line col);
paintHLineRelInternal(x, dx, y+line, col);
line++;
}
}
#ifdef USE_NEVIS_GXA
/* the GXA seems to do asynchronous rendering, so we add a sync marker
@@ -764,7 +765,6 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
*/
add_gxa_sync_marker();
#endif
#endif
}
void CFrameBuffer::paintVLineRelInternal(int x, int y, int dy, const fb_pixel_t col)