mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 20:59:05 +00:00
Fixes for clean NxWM build; Updated README files
This commit is contained in:
parent
52c4f8c58e
commit
6e0be1184f
1 changed files with 0 additions and 3 deletions
|
|
@ -192,12 +192,9 @@ void CGraphicsPort::drawHorizLine(nxgl_coord_t x, nxgl_coord_t y,
|
|||
nxgl_coord_t width, nxgl_mxpixel_t color)
|
||||
{
|
||||
FAR struct nxgl_rect_s dest;
|
||||
nxgl_coord_t halfwidth;
|
||||
|
||||
// Express the line as a rectangle
|
||||
|
||||
halfwidth = width >> 1;
|
||||
|
||||
dest.pt1.x = x;
|
||||
dest.pt1.y = y;
|
||||
dest.pt2.x = x + width - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue