CSharpGL.FrontFaceState.StateOn C# (CSharp) Method

StateOn() protected method

protected StateOn ( ) : void
return void
        protected override void StateOn()
        {
            OpenGL.GetInteger(GetTarget.FrontFace, originalPolygonMode);

            this.lastMode = (uint)this.Mode;
            if (this.lastMode != originalPolygonMode[0])
            {
                OpenGL.FrontFace(this.lastMode);
            }
        }