- found one other wrong ortho2... causing wrong ortho2 matrices in

3d window...
This commit is contained in:
Ton Roosendaal
2003-11-13 14:55:13 +00:00
parent 43f2470173
commit 74eccb3bbc

View File

@@ -117,7 +117,7 @@ void persp(int a)
mygetmatrix(G.vd->viewmat1);
}
else if(a== PERSP_WIN) { // only set
myortho2(-0.5, (float)(curarea->winx)-.05, -0.5, (float)(curarea->winy)-0.5);
myortho2(-0.5, (float)(curarea->winx)-0.5, -0.5, (float)(curarea->winy)-0.5);
glLoadIdentity();
}
else if(a== PERSP_VIEW) {