RE: [Plib-devel] Texture and blend modes
Brought to you by:
sjbaker
From: Ben W. <be...@bg...> - 2000-08-21 19:09:06
|
One more thing, I you may now this but I thought I would say it anyway. When you pop it of the stack, it purmanatly pops off. A on stack push B on stack pop // b comes off leaving just a. Later Ben -----Original Message----- From: Curtis L. Olson [mailto:cu...@me...] Sent: Monday, August 21, 2000 3:58 PM To: pli...@li... Subject: RE: [Plib-devel] Texture and blend modes Ben Woodhead writes: > The code looks fine according to the redbook, but one thing I was wondering > did you test to see how big the stack is and how many are being used. If > plib is also using stacks you may have reached your limit. Ben, I just added glGetError() calls after each push/pop. These always return zero (even the very first call) and their presence makes the rendering work ... Now I take out the calls to glGetError() and it still works ... lovely ... :-( But I duplicate the code else where and it obviously isn't restoring the depth_test ... :-( Thrust back into opengl la-la-land ... I might be better off just putting things back to the way that I know they work and saving myself about 100 or so hours ... Curt. -- Curtis Olson Human Factors Research Lab Flight Gear Project Twin Cities cu...@hf... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ plib-devel mailing list pli...@li... http://lists.sourceforge.net/mailman/listinfo/plib-devel |