diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-14 13:46:46 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-14 14:14:29 +0100 |
commit | ac879b98b7556f0329a6aad48e3d1e2a80144ef2 (patch) | |
tree | a779c431771f3acd272ecb4e7508e680bf903b2f /tracker-wii/wii_frame.cpp | |
parent | 599afab6c9991df3d87d538ef65fe54533d25a11 (diff) |
tracker/wii: make a minimum set of changes
Issue: #876
Diffstat (limited to 'tracker-wii/wii_frame.cpp')
-rw-r--r-- | tracker-wii/wii_frame.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tracker-wii/wii_frame.cpp b/tracker-wii/wii_frame.cpp index 9332a704..691e6b57 100644 --- a/tracker-wii/wii_frame.cpp +++ b/tracker-wii/wii_frame.cpp @@ -27,7 +27,7 @@ WIIPreview& WIIPreview::operator=(const pt_frame& frame_) if (frame.channels() != 3) { - once_only(qDebug() << "tracker/pt: camera frame depth: 3 !=" << frame.channels()); + eval_once(qDebug() << "tracker/pt: camera frame depth: 3 !=" << frame.channels()); return *this; } @@ -61,7 +61,7 @@ QImage WIIPreview::get_bitmap() if (stride < 64 || stride < frame_out.cols * 4) { - once_only(qDebug() << "bad stride" << stride + eval_once(qDebug() << "bad stride" << stride << "for bitmap size" << frame_copy.cols << frame_copy.rows); return QImage(); } @@ -74,7 +74,7 @@ QImage WIIPreview::get_bitmap() QImage::Format_ARGB32); } -void WIIPreview::draw_head_center(double x, double y) +void WIIPreview::draw_head_center(f x, f y) { double px_, py_; |