gl_engine: fix compilation warning with RenderRegion data type

This commit is contained in:
Sergii Liebodkin 2025-05-28 12:02:54 +03:00 committed by Mira Grudzinska
parent a27839e80a
commit 36eb530305

View file

@ -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();