diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-29 16:07:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-29 16:07:06 +0200 |
commit | 2afbfb1e417914565edb1c7ed14cc1ebf278672d (patch) | |
tree | 006c43dec92af74323bbd409288094aaf503dc35 /cv/video-widget.cpp | |
parent | d1ce180fee7b660f989e22e8b91a2cf0f53ded6a (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.cpp | 2 |
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); } } |