fixed slightly wrong placement when stereo is off

This commit is contained in:
Zeno Rogue 2018-02-26 13:18:20 +01:00
parent b3def8bdfc
commit 182d101903
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ void coords_to_poly() {
polyi = size(glcoords);
for(int i=0; i<polyi; i++) {
// printf("%lf %lf\n", double(glcoords[i][0]), double(glcoords[i][1]));
if(!stereo::active()) glcoords[i][2] = 0;
polyx[i] = vid.xcenter + glcoords[i][0] - glcoords[i][2];
polyxr[i] = vid.xcenter + glcoords[i][0] + glcoords[i][2];