State without pushattribs in GL3?
How do I quickly save and restore state in GL3? The push/popattribs is marked as deprecated D:
Push/Pop attribs is only there for debugging, it needlessly complicates/bloats the driver, hence the reason theyre gonna remove it.
u easily can workaround it, after all its only something like (performance is much better with version B as well)
A/
set X to 121
push attib();
change X
pop attrib();
B/
set X to 121
int oldX = X;
change X
set X to oldX;
u easily can workaround it, after all its only something like (performance is much better with version B as well)
A/
set X to 121
push attib();
change X
pop attrib();
B/
set X to 121
int oldX = X;
change X
set X to oldX;
Quote:Original post by Prune
Surely the powers that be deprecated it for a reason.
Are you going to use GL3 or not? If you are not, then don't worry about it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement