• // End drag: ripristino stato OpenGL
•glDrawBuffer( oldDrawBuffer
);
•glDepthFunc( oldDepthFunc
);
•glLineStipple(
oldLineStippleR, oldLineStippleP );
•glMaterialfv(
GL_FRONT_AND_BACK, GL_EMISSION, oldEC );
•if( !BlendingIsE ) glDisable( GL_BLEND );
•glBlendFunc( BlendFun1,
BlendFun2 );
•
•glPopMatrix();
•glMatrixMode( GL_MODELVIEW
);
•glPopMatrix();