summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:07:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:07:06 +0200
commit2afbfb1e417914565edb1c7ed14cc1ebf278672d (patch)
tree006c43dec92af74323bbd409288094aaf503dc35 /cv/video-widget.cpp
parentd1ce180fee7b660f989e22e8b91a2cf0f53ded6a (diff)
cv, pose-widget: don't premultiply alpha
It doesn't improve perf.
Diffstat (limited to 'cv/video-widget.cpp')
-rw-r--r--cv/video-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cv/video-widget.cpp b/cv/video-widget.cpp
index f4c16776..7d504f3a 100644
--- a/cv/video-widget.cpp
+++ b/cv/video-widget.cpp
@@ -54,7 +54,7 @@ void cv_video_widget::update_image(const cv::Mat& frame)
const cv::Mat& img = *img_;
- texture = QImage((const unsigned char*) img.data, w, h, QImage::Format_ARGB32_Premultiplied);
+ texture = QImage((const unsigned char*) img.data, w, h, QImage::Format_ARGB32);
}
}