summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_x11.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-03-03 19:16:04 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2020-03-03 19:16:04 +0100
commitc5dde69620d247e4e8238cace43f75a8299d0233 (patch)
tree9754b9db5c79d960961b4446b824291f11cb0448 /plugingui/nativewindow_x11.cc
parent25b73fd1c19750105ba6126d379f3cd1f0a9fd63 (diff)
WIP: Further optimize pixel blending. And re-introduce lineBlending in Painter::drawImage.int_ui
Diffstat (limited to 'plugingui/nativewindow_x11.cc')
-rw-r--r--plugingui/nativewindow_x11.cc1
1 files changed, 0 insertions, 1 deletions
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)