summaryrefslogtreecommitdiff
path: root/Kernel/Graphics/VirtIOGPU/GPU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Graphics/VirtIOGPU/GPU.cpp')
-rw-r--r--Kernel/Graphics/VirtIOGPU/GPU.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Graphics/VirtIOGPU/GPU.cpp b/Kernel/Graphics/VirtIOGPU/GPU.cpp
index 0c8c513fd9..38a418ce27 100644
--- a/Kernel/Graphics/VirtIOGPU/GPU.cpp
+++ b/Kernel/Graphics/VirtIOGPU/GPU.cpp
@@ -261,10 +261,10 @@ void GPU::populate_virtio_gpu_request_header(Protocol::ControlHeader& header, Pr
header.padding = 0;
}
-void GPU::flush_dirty_window(ScanoutID scanout, Protocol::Rect const& dirty_rect, ResourceID resource_id)
+void GPU::flush_dirty_rectangle(ScanoutID scanout_id, Protocol::Rect const& dirty_rect, ResourceID resource_id)
{
MutexLocker locker(m_operation_lock);
- transfer_framebuffer_data_to_host(scanout, dirty_rect, resource_id);
+ transfer_framebuffer_data_to_host(scanout_id, dirty_rect, resource_id);
flush_displayed_image(dirty_rect, resource_id);
}