summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxbe/nxbe_filltrapezoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/graphics/nxbe/nxbe_filltrapezoid.c')
-rw-r--r--nuttx/graphics/nxbe/nxbe_filltrapezoid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_filltrapezoid.c b/nuttx/graphics/nxbe/nxbe_filltrapezoid.c
index 1936aede6..c3c95d22b 100644
--- a/nuttx/graphics/nxbe/nxbe_filltrapezoid.c
+++ b/nuttx/graphics/nxbe/nxbe_filltrapezoid.c
@@ -134,9 +134,9 @@ void nxbe_filltrapezoid(FAR struct nxbe_window_s *wnd,
/* Create a bounding box that contains the trapezoid */
remaining.pt1.x = b16toi(ngl_min(info.trap.top.x1, info.trap.bot.x1));
- remaining.pt1.y = b16toi(info.trap.top.y);
+ remaining.pt1.y = info.trap.top.y;
remaining.pt2.x = b16toi(ngl_max(info.trap.top.x2, info.trap.bot.x2));
- remaining.pt2.y = b16toi(info.trap.bot.y);
+ remaining.pt2.y = info.trap.bot.y;
/* Clip to any user specified clipping window */