From f97c36d49927f4b50a6e351fe2c306269c952aa2 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Mon, 6 May 2024 20:24:31 +0200 Subject: [PATCH] =?UTF-8?q?Document=20that=20fbink=5Fput=5Fpixel=20&=20co?= =?UTF-8?q?=20doesn't=20*not=C3=B9=20request=20a=20refresh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fbink.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fbink.h b/fbink.h index 6e69eb30..6ab7e89a 100644 --- a/fbink.h +++ b/fbink.h @@ -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