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-07 19:23:12 +0100
commitdf71bccf9c4731af9bcca79eee8d95651646bd82 (patch)
tree1c9485bed0fdd64410282156537553b8fde3bb86 /plugingui/nativewindow_x11.cc
parent560574d2e565510edd39dd9daf1d957a85f2220c (diff)
Further optimize pixel blending. And re-introduce lineBlending in Painter::drawImage.
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)