mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
gl_engine: fix compilation warning with RenderRegion data type
This commit is contained in:
parent
dc8c5bce50
commit
d0be8cd2bd
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ bool GlRenderer::sync()
|
|||
|
||||
RenderRegion GlRenderer::region(RenderData data)
|
||||
{
|
||||
if (currentPass()->isEmpty()) return {0, 0, 0, 0};
|
||||
if (currentPass()->isEmpty()) return {};
|
||||
|
||||
auto shape = reinterpret_cast<GlShape*>(data);
|
||||
auto bounds = shape->geometry.getBounds();
|
||||
|
|
Loading…
Add table
Reference in a new issue