From 471125a0bc40a90e0a15891d050efa7d2f33c12c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 18 Jan 2013 11:10:35 +0400 Subject: [PATCH] driver/framebuffer.cpp: fix Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/03ee79aaf0d0d1746c9add64137c21823208e967 Author: [CST] Focus Date: 2013-01-18 (Fri, 18 Jan 2013) --- src/driver/framebuffer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/driver/framebuffer.cpp b/src/driver/framebuffer.cpp index 3de58bb4d..9bf75ae85 100644 --- a/src/driver/framebuffer.cpp +++ b/src/driver/framebuffer.cpp @@ -750,12 +750,13 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int } ioctl(fd, FBIO_FILL_RECT, &fillrect); + return; + } +#endif + while (line < dy) { + paintHLineRelInternal(x, dx, y+line, col); + line++; } - } -#else - while (line < dy) { - paintHLineRelInternal(x+ofl, dx-ofl-ofr, y+line col); - line++; } #ifdef USE_NEVIS_GXA @@ -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)