mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-29 22:48:12 +02:00
glPush/PopAttrib fix (bug 6891)
This commit is contained in:
parent
65897c04c8
commit
c0168fabed
1 changed files with 3 additions and 3 deletions
|
|
@ -779,8 +779,8 @@ OpenGLSurfaceEvaluator::bgnmap2f(long)
|
|||
else
|
||||
auto_normal_flag = 0;
|
||||
*/
|
||||
glPushAttrib((GLbitfield) GL_EVAL_BIT);
|
||||
|
||||
//NEWCALLBACK: no need to worry about gl states when gling clalback
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -842,12 +842,12 @@ OpenGLSurfaceEvaluator::endmap2f(void)
|
|||
bezierPatchMeshListDelete(global_bpm);
|
||||
global_bpm = NULL;
|
||||
#endif
|
||||
|
||||
glPopAttrib();
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifndef USE_LOD
|
||||
glPopAttrib();
|
||||
glPopAttrib();
|
||||
#endif
|
||||
|
||||
#ifdef STATISTICS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue