Eero Pajarre wrote:
> 
> I just tried to run my program, which I have developed with
> Win32+Mesa+3dfx, with Win32+Nvidia Open GL+Geforce.
> 
> It did not work ;-(
> 
> I tracked down the reason: I was pushing two times a matrix into
> the projection stack. Geforce driver apparently only
> implements two-level projection stack, which is OK
> according to OpenGL spec.
> 
> 1) I guess the Mesa default might as well be the allowed minimum.

I don't feel strongly about this.  Anyone else?


> 2) when looking at matrix.c I noticed that the overflow conditions
> are different for Modelview and for (projection & texture).
> I think that the ModelView is ok and Projection & Texture are wrong.
> (With the current code, if I define MAX_PROJECTION_STACK_DEPTH == 2
> it will allow two push operations, which I think is not
> how Red Book describes "stack depth == 2))

You're right.  I'm fixing it.


> 3) I think than in types.h all the stacks could be allocated to
> be one element smaller, this because the top of stack is kept
> in separate location. (but I did not check this too well).

Right.

-Brian


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to