Border around generated Texture2D using legacy DrawTexture

I generate a texture that has a series of red squares on it. It is placed on top of another texture that i generate myself, which is white. For some reason it places border around red squares. How do I disable this effect?

48123-screen-shot-2015-06-12-at-81729-pm.png

I use this to render both textures:

if ( this.backgroundTexture != null )
{
       GUI.DrawTexture ( new Rect( Screen.width - 150, 0, 150, 150 ), this.backgroundTexture, ScaleMode.StretchToFill);
}

if ( this.squareTexture )
{
       GUI.DrawTexture ( new Rect( Screen.width - 150, 0, 150, 150 ), this.squareTexture, ScaleMode.StretchToFill );
}

What causes this border to appear?

Thanks!

That looks like texture filtering on the red squares texture being generated. Try setting .filterMode on the texture to FilterMode.Point