mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 14:48:24 +00:00
gl_engine: fix compilation warning with RenderRegion data type
This commit is contained in:
parent
a27839e80a
commit
36eb530305
1 changed files with 1 additions and 1 deletions
|
@ -985,7 +985,7 @@ bool GlRenderer::sync()
|
|||
|
||||
RenderRegion GlRenderer::region(RenderData data)
|
||||
{
|
||||
if (currentPass()->isEmpty()) return RenderRegion{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