It's not exactly what you asked for but you could call glPushAttrib(GL_ALL_ATTRIB_BITS); at the beginning of your code, and then call ...
確定! 回上一頁