From c5dde69620d247e4e8238cace43f75a8299d0233 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 3 Mar 2020 19:16:04 +0100 Subject: WIP: Further optimize pixel blending. And re-introduce lineBlending in Painter::drawImage. --- plugingui/nativewindow_x11.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'plugingui/nativewindow_x11.cc') diff --git a/plugingui/nativewindow_x11.cc b/plugingui/nativewindow_x11.cc index de215c2..33dde7b 100644 --- a/plugingui/nativewindow_x11.cc +++ b/plugingui/nativewindow_x11.cc @@ -680,7 +680,6 @@ void NativeWindowX11::updateImageFromBuffer(std::size_t x1, std::size_t y1, if(depth >= 24) // RGB 888 format { std::uint32_t* shm_addr = (std::uint32_t*)shm_info.shmaddr; - for(std::size_t y = y1; y < y2; ++y) { for(std::size_t x = x1; x < x2; ++x) -- cgit v1.2.3