From 97706a2aec04bc91b8ac4d7c2fa3549d44ccc661 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 13 May 2020 22:46:29 +0200 Subject: draw_bmp: make another small guarantee to users Mostly self-evident. --- sub/draw_bmp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sub/draw_bmp.h b/sub/draw_bmp.h index 90e0ef6368..e9560e1ca5 100644 --- a/sub/draw_bmp.h +++ b/sub/draw_bmp.h @@ -31,6 +31,8 @@ char *mp_draw_sub_get_dbg_info(struct mp_draw_sub_cache *c); // rectangles are regions that were changed since the last call. This function // always makes the act region a subset of the mod region. Rectangles within a // list never overlap with rectangles within the same list. +// If num_mod_rcs==0 is returned, this function guarantees that the act region +// did not change since the last call. // If the user-provided lists are too small (max_*_rcs too small), multiple // rectangles are merged until they fit in the list. // You can pass max_act_rcs=0, which implies you render the whole overlay. -- cgit v1.2.3