diff --git a/Userland/Libraries/LibSoftGPU/Device.cpp b/Userland/Libraries/LibSoftGPU/Device.cpp index 8be4824957..bc38e37ead 100644 --- a/Userland/Libraries/LibSoftGPU/Device.cpp +++ b/Userland/Libraries/LibSoftGPU/Device.cpp @@ -1316,8 +1316,8 @@ Gfx::IntRect Device::get_rasterization_rect_of_size(Gfx::IntSize size) // "Any fragments whose centers lie inside of this rectangle (or on its bottom or left // boundaries) are produced in correspondence with this particular group of elements." return { - static_cast(roundf(m_raster_position.window_coordinates.x())), - static_cast(roundf(m_raster_position.window_coordinates.y())), + static_cast(lroundf(m_raster_position.window_coordinates.x())), + static_cast(lroundf(m_raster_position.window_coordinates.y())), size.width(), size.height(), };