mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-04 13:45:17 +00:00
renderer: fix stub functions
When partial rendering support is disabled the stub implementation of the RenderDirtyRegion struct had incomplete logic. Fixed
This commit is contained in:
parent
10b68f4936
commit
581a304305
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ struct RenderRegion
|
|||
|
||||
void init(uint32_t w, uint32_t h) {}
|
||||
void commit() {}
|
||||
void add(TVG_UNUSED const RenderRegion* prv, TVG_UNUSED const RenderRegion* cur) {}
|
||||
bool add(TVG_UNUSED const RenderRegion& bbox) { return true; }
|
||||
bool add(TVG_UNUSED const RenderRegion& prv, TVG_UNUSED const RenderRegion& cur) { return true; }
|
||||
void clear() {}
|
||||
bool deactivate(TVG_UNUSED bool on) { return true; }
|
||||
bool deactivated() { return true; }
|
||||
|
|
Loading…
Add table
Reference in a new issue