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:
Mira Grudzinska 2025-07-01 21:11:49 +02:00 committed by Hermet Park
parent 10b68f4936
commit 581a304305

View file

@ -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; }