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,12 +750,13 @@ void CFrameBuffer::paintBoxRel(const int x, const int y, const int dx, const int
} }
ioctl(fd, FBIO_FILL_RECT, &fillrect); 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 #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(); add_gxa_sync_marker();
#endif #endif
#endif
} }
void CFrameBuffer::paintVLineRelInternal(int x, int y, int dy, const fb_pixel_t col) void CFrameBuffer::paintVLineRelInternal(int x, int y, int dy, const fb_pixel_t col)