Make the StereoCombiner information interface more flexible
[libs/vr.git] / source / sidebysidecombiner.cpp
index 213b5448249b894736d392e55c741235d10e438b..c5aef041ecf3f123501d9fc062d5c497f1abe1de 100644 (file)
@@ -30,7 +30,8 @@ SideBySideCombiner::SideBySideCombiner(bool c):
        mesh(GL::VERTEX2),
        shprog(vs_source, fs_source)
 {
-       width_div = 2;
+       width_factor = 0.5f;
+       aspect_factor = 0.5f;
 
        left_shdata.uniform("texture", 0);
        right_shdata.uniform("texture", 0);