public void SetBorderColor(Color color) { var x = PushState(); gl.glBindTexture((uint)GL.TEXTURE_2D, m_iObject[0]); gl.glTexParameteri((uint)GL.TEXTURE_2D, (uint)GL.TEXTURE_BORDER_COLOR, (int)color.ToRgba()); PopState(x); }