Expose the individual rectangle in the dirty region

This commit is contained in:
Olivier Goffart 2024-04-26 13:32:30 +02:00
parent f45bab6a3f
commit 5955d19706
7 changed files with 117 additions and 29 deletions

View file

@ -216,6 +216,8 @@ fn default_config() -> cbindgen::Config {
.iter()
.cloned()
.collect();
config.structure.associated_constants_in_body = true;
config.constant.allow_constexpr = true;
config
}
@ -295,6 +297,7 @@ fn gen_corelib(
"Rect",
"SortOrder",
"BitmapFont",
"PhysicalRegion",
]
.iter()
.chain(items.iter())