PDA

View Full Version : glPushAttrib depreciated, replace by?



Red_Riot
03-20-2011, 02:15 AM
Just a quick question, what was the GLPushAttrib function replaced by in OpenGL 3.2 specs or above?

Could swear there was some sort of buffer you could use, but thumbing through the documents I'm coming up dry, anyone know off the top of their heads?

These used to be known as 'Attribute Groups'

Alfonse Reinheart
03-20-2011, 11:14 AM
what was the GLPushAttrib function replaced by in OpenGL 3.2 specs or above?

Nothing.

Much of the state that PushAttrib saved was fixed-function state that is also removed. The rest of the stat is stuff that you are expected to take care of yourself.