diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index 55fb6d81f..152e946ee 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -501,9 +501,10 @@ void SystemView::renderCarousel(const glm::mat4& trans) mCarousel.origin.y * mCarousel.size.y * -1.0f, 0.0f}); glm::vec2 clipPos{carouselTrans[3].x, carouselTrans[3].y}; - Renderer::pushClipRect( - glm::ivec2{static_cast(clipPos.x), static_cast(clipPos.y)}, - glm::ivec2{static_cast(mCarousel.size.x), static_cast(mCarousel.size.y)}); + Renderer::pushClipRect(glm::ivec2{static_cast(std::round(clipPos.x)), + static_cast(std::round(clipPos.y))}, + glm::ivec2{static_cast(std::round(mCarousel.size.x)), + static_cast(std::round(mCarousel.size.y))}); Renderer::setMatrix(carouselTrans); Renderer::drawRect(0.0f, 0.0f, mCarousel.size.x, mCarousel.size.y, mCarousel.color,