summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-27 15:33:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-27 16:05:03 +0200
commit018cbba02e06635f4fafb5b9a8c8585a3a634b55 (patch)
treefa9f3b0f24222fb086fbd23b3ef775797a05c8f5
parent4596d0bf8d8659411ea9dbc380336ad01c366f7b (diff)
tracker/pt: remove nonsense
-rw-r--r--tracker-pt/module/frame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/frame.cpp b/tracker-pt/module/frame.cpp
index 09d469f2..faab4efb 100644
--- a/tracker-pt/module/frame.cpp
+++ b/tracker-pt/module/frame.cpp
@@ -45,7 +45,7 @@ QImage Preview::get_bitmap()
{
int stride = (int)frame_out.step.p[0];
- if (stride < 64 || stride < frame_out.cols * 4)
+ if (stride < frame_out.cols * 4)
{
eval_once(qDebug() << "bad stride" << stride
<< "for bitmap size" << frame_copy.cols << frame_copy.rows);