CSharpGL.PointSpriteState.StateOff C# (CSharp) Method

StateOff() protected method

protected StateOff ( ) : void
return void
        protected override void StateOff()
        {
            OpenGL.Disable(OpenGL.GL_POINT_SPRITE);
            OpenGL.Disable(OpenGL.GL_VERTEX_PROGRAM_POINT_SIZE);

            int count = this.StateList.Count;
            for (int i = count - 1; i >= 0; i--) { this.StateList[i].Off(); }
        }