X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=progs%2Fdemos%2Fshapes%2Fglmatrix.c;h=5128da81ef6eb62cd86332d494b149fe527d7b45;hb=0d72f166aecf3392abf1c1a31667937f24905264;hp=961bf7c9668f8c791104ba2716afae6077601a4d;hpb=8c9773ab36947fcaad5826eb9962d203d914c86d;p=freeglut diff --git a/progs/demos/shapes/glmatrix.c b/progs/demos/shapes/glmatrix.c index 961bf7c..5128da8 100644 --- a/progs/demos/shapes/glmatrix.c +++ b/progs/demos/shapes/glmatrix.c @@ -160,6 +160,7 @@ void gl_frustum(float left, float right, float bottom, float top, float near, fl mat[10] = c; mat[11] = -1.f; mat[14] = d; + mat[15] = 0; gl_mult_matrixf(mat); }