Skip to content

Commit 404c106

Browse files
committed
code comments
1 parent 50eabb8 commit 404c106

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/graphics/jswrap_graphics.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ NO_INLINE void _jswrap_drawImageSimple(JsGraphics *gfx, int xPos, int yPos, GfxD
417417
if (!(gfx->data.flags&JSGRAPHICSFLAGS_SWAP_XY)) {
418418
/* if we've not swapped X/Y we can so some optimisations
419419
to reduce what we draw - but if we swapped XY there's no real point
420-
because of the difference in direction we scan out. Also it's hard to get right! */
420+
because of the difference in direction we scan out. Also it's hard to get right!
421+
see https://github.com/espruino/BangleApps/issues/4053 */
421422
graphicsSetModifiedAndClip(gfx,&x1,&y1,&x2,&y2, true); // ensure we clip Y
422423
/* force a skip forward as many bytes as we need. Ideally we would use
423424
jsvStringIteratorGotoUTF8 but we don't have the UTF8 index or

0 commit comments

Comments
 (0)