X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstereoview.cpp;h=53c6445f368b28266aba2ca372ab40a52fa3a4e6;hb=a3d248c7db9f04919ed5e4053f6e2a2f776cec47;hp=419e95c5bde699a31e4bf9545298141d49cbe973;hpb=60ca0094db80ea88ad546c98866f73a8d152e02b;p=libs%2Fgl.git diff --git a/source/stereoview.cpp b/source/stereoview.cpp index 419e95c5..53c6445f 100644 --- a/source/stereoview.cpp +++ b/source/stereoview.cpp @@ -22,8 +22,8 @@ void StereoView::set_combiner(const StereoCombiner &c) { combiner = &c; - unsigned w = width/combiner->get_width_divisor(); - unsigned h = height/combiner->get_height_divisor(); + unsigned w = width/combiner->get_width_divisor()*combiner->get_oversize(); + unsigned h = height/combiner->get_height_divisor()*combiner->get_oversize(); left.create_target(w, h); right.create_target(w, h); }