patch, 7340 from frank richter add glPush/PopClientAttrib

This commit is contained in:
2007-10-17 09:51:13 +00:00
parent 919e5baba8
commit 51ca77a114
2 changed files with 19 additions and 0 deletions

View File

@@ -1213,6 +1213,12 @@ def glPopAttrib():
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushattrib.html}
"""
def glPopClientAttrib():
"""
Pop the client attribute stack
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html}
"""
def glPopMatrix():
"""
Pop the current matrix stack
@@ -1248,6 +1254,15 @@ def glPushAttrib(mask):
@param mask: Specifies a mask that indicates which attributes to save.
"""
def glPushClientAttrib(mask):
"""
Push the client attribute stack
@see: U{www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pushclientattrib.html}
@type mask: Enumerated constant(s)
@param mask: Specifies a mask that indicates which attributes to save.
"""
def glPushMatrix():
"""
Push the current matrix stack