Archived

This topic is now archived and is closed to further replies.

redmonkey

capturing current GL_ states, like popmatrix

Recommended Posts

Im tyring to find a fast solution to this problem; i want to change the state of a lot of differetn enviroment varibles, such as GL_LIGHTING, glpolygonmode, gllinewidth, things like that. i know theres already a push and pop matrix for coordinates and such, but is there a quick[cpu/gpu wise] and easy way for doing this with gl settings? or am i to resort to testing, storing, changing and restoring each different enviroment varible? __________________ graham "red" reeves. red@deadpenguin.org www.deadpenguin.org

Share this post


Link to post
Share on other sites