Loading libs/renderengine/gl/GLESRenderEngine.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -827,11 +827,14 @@ void GLESRenderEngine::handleRoundedCorners(const DisplaySettings& display, drawMesh(mesh); // The middle part of the layer can turn off blending. const Rect middleRect(bounds.left, bounds.top + radius, bounds.right, bounds.bottom - radius); if (topRect.bottom < bottomRect.top) { const Rect middleRect(bounds.left, bounds.top + radius, bounds.right, bounds.bottom - radius); setScissor(middleRect); mState.cornerRadius = 0.0; disableBlending(); drawMesh(mesh); } disableScissor(); } Loading Loading
libs/renderengine/gl/GLESRenderEngine.cpp +8 −5 Original line number Diff line number Diff line Loading @@ -827,11 +827,14 @@ void GLESRenderEngine::handleRoundedCorners(const DisplaySettings& display, drawMesh(mesh); // The middle part of the layer can turn off blending. const Rect middleRect(bounds.left, bounds.top + radius, bounds.right, bounds.bottom - radius); if (topRect.bottom < bottomRect.top) { const Rect middleRect(bounds.left, bounds.top + radius, bounds.right, bounds.bottom - radius); setScissor(middleRect); mState.cornerRadius = 0.0; disableBlending(); drawMesh(mesh); } disableScissor(); } Loading