Skip to content

Commit

Permalink
Document that fbink_put_pixel & co doesn't *notù request a refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
NiLuJe committed May 6, 2024
1 parent 7c0d870 commit f97c36d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fbink.h
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,9 @@ FBINK_API int fbink_fill_rect_rgba(int fbfd,
// These are designed with *convenience* in mind, *not* performance.
// (In particular, a pixel needs to be packed on *each* call).
// I'd highly recommend handling drawing yourself if you can ;).
// NOTE: Unlike the fbink_fill_rect family of functions,
// the fbink_put_pixel family will *never* trigger a refresh.
// (Which explains why they don't need to take an FBInkConfig pointer).
// Returns -(ENOSYS) when drawing primitives are disabled (MINIMAL build w/o DRAW).
// x: x coordinates
// y: y coordinates
Expand Down

0 comments on commit f97c36d

Please sign in to comment.